Skip to content

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

Closed
carlfish wants to merge 3 commits into
httpie:masterfrom
carlfish:squashed
Closed

carlfish wants to merge 3 commits into
httpie:masterfrom
carlfish:squashed

Conversation

@carlfish

Copy link
Copy Markdown

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

@coveralls

Copy link
Copy Markdown

Coverage Status

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

@coveralls

Copy link
Copy Markdown

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
Copy Markdown

Coverage Status

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

@elayeek

elayeek commented Sep 16, 2016

Copy link
Copy Markdown

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

coveralls commented Sep 16, 2016 •

Copy link
Copy Markdown

Coverage Status

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

@adamchainz

Copy link
Copy Markdown

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

@c0b

c0b commented May 7, 2018

Copy link
Copy Markdown

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

c0b commented Oct 15, 2019

Copy link
Copy Markdown

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

@lendadadti

Copy link
Copy Markdown

I need this modification :(

@jkbrzt

jkbrzt commented Jun 18, 2020

Copy link
Copy Markdown
Member

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