3 weeks ago
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?
a week ago
Use Compact method to remove the empty arrays