Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#427 preserve JSON key order in output if supported #520

Closed
wants to merge 3 commits into from

Conversation

carlfish
Copy link

Because 2.6 does not support object_pairs_hook, this behaviour only kicks in on 2.7 or later.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 93.563% when pulling 02457fb on carlfish:squashed into 497a917 on jkbrzt:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 93.563% when pulling e5e4eef on carlfish:squashed into 497a917 on jkbrzt:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 93.563% when pulling e5e4eef on carlfish:squashed into 497a917 on jkbrzt:master.

@elayeek
Copy link

elayeek commented Sep 16, 2016

If you're making this change then please (should it be approved) also add a change to the readme to reflect this, there is currently a reference to ordering in the readme (16 - Terminal output)

@coveralls
Copy link

coveralls commented Sep 16, 2016

Coverage Status

Coverage increased (+0.005%) to 93.6% when pulling eaf4959 on carlfish:squashed into 497a917 on jkbrzt:master.

@adamchainz
Copy link

Any movement on this? Would like to see this merged.

@c0b
Copy link

c0b commented May 7, 2018

from the main project README it's already saying Python3 preferred, could you also declare the minimum requirement is Python2.7 and then no support for Python2.6 and below;

Then merge it for #427 please; waited too long time.

@c0b
Copy link

c0b commented Oct 15, 2019

the whole Python2 deprecated; some maintainer can take a look of the pending PRs? from contributor graphs it looks like @jakubroztocil @msabramo still active?

@cannudo
Copy link

cannudo commented Mar 28, 2020

I need this modification :(

@jkbrzt
Copy link
Member

jkbrzt commented Jun 18, 2020

Just released v2.2.0 that addresses this issue. Learn about about the new --unsorted, --sorted and --format-options here: https://httpie.org/docs#colors-and-formatting

@jkbrzt jkbrzt closed this Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants