Skip to content

How to compare 2 JSON files with the same content but in a different order? #2163

Closed Answered by sdottaka
jrchaves asked this question in Q&A
Discussion options

You must be logged in to vote

The attachments appear to be valid JSON files. Therefore, the Replace plugin is not required. Please specify as below.

QueryJSON ".Data.RootChunk.renderAreaSettings.areaParameters |= sort_by(.HandleId)"

QueryJSON ".Data.RootChunk.renderAreaSettings.areaParameters |= sort_by(.HandleId)"

Replies: 8 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jrchaves
Comment options

Answer selected by jrchaves
Comment options

You must be logged in to vote
3 replies
@sdottaka
Comment options

@jrchaves
Comment options

@sdottaka
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants