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
Picking values for tabular display via -t should fill columns correctly regardless of whether a property is set on an object/index is available in an array.
Picking values for tabular display via
-t
should fill columns correctly regardless of whether a property is set on an object/index is available in an array.Example:
jp --example | jp '$..[?(@.price > 10)]' | jp -t '$["title", "price"]'
Observed:
Expected:
Possible solution:
JSONPath will by default drop missing fields. Extending the query library to fill in nulls instead could fulfil this requirement.
The text was updated successfully, but these errors were encountered: