[GH-ISSUE #1304] [Feature] Add the ability to sort JSON keys in diff view #1298

Closed
opened 2026-03-03 19:50:13 +03:00 by kerem · 4 comments
Owner

Originally created by @travisstraub on GitHub (Jul 22, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1304

Originally assigned to: @NghiaTranUIT on GitHub.

When comparing JSON bodies from two different requests/responses, sometimes the keys/values are present, but not always returned in the same order. This causes the diff to show differences where they may not necessarily exist. Is there a way to sort keys in Proxyman currently, or can this feature be added? Thanks in advance!

Proxyman Version 3.7.0 (30700)

Originally created by @travisstraub on GitHub (Jul 22, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1304 Originally assigned to: @NghiaTranUIT on GitHub. When comparing JSON bodies from two different requests/responses, sometimes the keys/values are present, but not always returned in the same order. This causes the diff to show differences where they may not necessarily exist. Is there a way to sort keys in Proxyman currently, or can this feature be added? Thanks in advance! Proxyman Version 3.7.0 (30700)
kerem 2026-03-03 19:50:13 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 23, 2022):

Thanks for the suggestion @travisstraub, since it's a trivial changes, I gonna add it and send you a Beta soon 🙌

<!-- gh-comment-id:1193021784 --> @NghiaTranUIT commented on GitHub (Jul 23, 2022): Thanks for the suggestion @travisstraub, since it's a trivial changes, I gonna add it and send you a Beta soon 🙌
Author
Owner

@travisstraub commented on GitHub (Jul 23, 2022):

Excellent, thank you so much!

<!-- gh-comment-id:1193036463 --> @travisstraub commented on GitHub (Jul 23, 2022): Excellent, thank you so much!
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 24, 2022):

@travisstraub Good news, let's try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.7.0_Diff_Sorting_JSON_Key.dmg

You can enable the Sorting JSON Key in the Diff Option Dropdown button (Default is off) 👍

Screenshots

Screen_Shot_2022-07-24_at_14_22_47
Screen_Shot_2022-07-24_at_14_22_57

<!-- gh-comment-id:1193265021 --> @NghiaTranUIT commented on GitHub (Jul 24, 2022): @travisstraub Good news, let's try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.7.0_Diff_Sorting_JSON_Key.dmg You can enable the Sorting JSON Key in the Diff Option Dropdown button (Default is off) 👍 ### Screenshots ![Screen_Shot_2022-07-24_at_14_22_47](https://user-images.githubusercontent.com/5878421/180637223-f98b5b4c-212d-44a2-bb7f-86db2b80318c.jpg) ![Screen_Shot_2022-07-24_at_14_22_57](https://user-images.githubusercontent.com/5878421/180637227-9b3cb73c-4704-4995-ab46-0923b095b9f0.jpg)
Author
Owner

@travisstraub commented on GitHub (Jul 26, 2022):

Works great, thanks @NghiaTranUIT !

<!-- gh-comment-id:1195878391 --> @travisstraub commented on GitHub (Jul 26, 2022): Works great, thanks @NghiaTranUIT !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1298
No description provided.