You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only way to resolve this is through shift operation which can get cumbersome if the array is nested in a deeper level and is part of complex json where you not only have to traverse the hierarchy but also accommodate all other fields\objects in the spec to maintain the same structure.
The text was updated successfully, but these errors were encountered:
Hi,
There should be a way to make the squashNulls \recursivelySquashNulls remove null objects from an array.
Example:
Input:
Spec:
Output:
Expected:
The only way to resolve this is through shift operation which can get cumbersome if the array is nested in a deeper level and is part of complex json where you not only have to traverse the hierarchy but also accommodate all other fields\objects in the spec to maintain the same structure.
The text was updated successfully, but these errors were encountered: