01-06-2026 04:54 AM
Currently I am trying to map list items
Currently, when the entire list has no data, the output is generated in the following format:
However, if the list is completely empty, I don’t want the array to appear at all in the output payload. The list field should be entirely omitted, with no empty objects or placeholders included.
Is there a workaround to conditionally exclude this field from the output when no data is present?
01-19-2026 09:03 PM
Use Compact method to remove the empty arrays