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

Allow to sort all json objects by key (in settings, set by default) #47

Open
rualark opened this issue May 29, 2020 · 1 comment
Open

Comments

@rualark
Copy link

rualark commented May 29, 2020

Example:
{
"B": 1,
"A": 2,
"C": 3
}

Should be:
{
"A": 2,
"B": 1,
"C": 3
}

Why:
in large jsons it is difficult to find fields

@lahmatiy
Copy link
Member

lahmatiy commented Oct 6, 2020

Currently it's possible to sort kets per object in struct view (see "keys with arrow" button when keys are unsorted). It can be configurable. However it should not to be turned on by default since order of keys usually makes sense (e.g. "id" field goes first, or "start" and "finish" props should be together in that order and so on).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants