-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The sorting flag from jq is very helpful when dealing with JSON APIs.
-S sort keys of objects on output;
There is an example:
❯ echo '{ "foo": 1, "bar": 2, "nested": { "will": 1, "sort": 2, "as": 3, "well": 4 } }' | jq -S .
{
"bar": 2,
"foo": 1,
"nested": {
"as": 3,
"sort": 2,
"well": 4,
"will": 1
}
}
Can we have this feature as well? Also, as a new rustacean I really appreciate your work. I had some issue to link lib-jq on my Mac, so this crate will save me a lot of time.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request