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
Is there a way to prevent JP from alphabetically sorting the output? I've tried using the -e and -f parameters, just the -f parameter, and no command line arguments other than the expression.
Attached is a very simple example in a data.zip file.
Using the following command on Windows 10, I'm finding the contents of the out.json file is alphabetically sorted. e.g. jp -f data.json -e expr.json > out.json
Similarly these invocations experience the same result:
Hi,
Is there a way to prevent JP from alphabetically sorting the output? I've tried using the -e and -f parameters, just the -f parameter, and no command line arguments other than the expression.
Attached is a very simple example in a data.zip file.
Using the following command on Windows 10, I'm finding the contents of the out.json file is alphabetically sorted. e.g.
jp -f data.json -e expr.json > out.json
Similarly these invocations experience the same result:
jp -f data.json "@" > out.json
type data.json | jp "@" > out.json
data.zip
The VS Code extension honours the order of the expression statements. Is there a way for jp to behave similarly?
Thanks, Matt
The text was updated successfully, but these errors were encountered: