-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
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
The VS Code extension honours the order of the expression statements. Is there a way for jp to behave similarly?
Thanks, Matt
Metadata
Metadata
Assignees
Labels
No labels