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
I've had no luck figuring out this nuance. I'm trying to convert data to a timeseries format required by another system. It wants the data as an array of arrays like this: http://try.jsonata.org/BkKNErBxL
Input:
I've had no luck figuring out this nuance. I'm trying to convert data to a timeseries format required by another system. It wants the data as an array of arrays like this: http://try.jsonata.org/BkKNErBxL
Input:
Expression:
$.[value,epochSeconds]
Result:
This is correct, but when there is only one item in the input array the result gets flattened.
Input:
Desired Output:
What I'm getting:
Is there some way to force an outer enclosing array when there is only one data point? TIA
The text was updated successfully, but these errors were encountered: