vscode-json icon indicating copy to clipboard operation
vscode-json copied to clipboard

Feature Request - Sorting Keys

Open unacceptable opened this issue 5 years ago • 0 comments

I might look into contributing this if I find the time later.

What I am thinking is that it would be something similar to the following python code

>>> json.dumps({'asdf': 'jkl', '2': 'two'})
'{"asdf": "jkl", "2": "two"}'
>>> json.dumps({'asdf': 'jkl', '2': 'two'}, sort_keys=True)
'{"2": "two", "asdf": "jkl"}'
>>>

unacceptable avatar Sep 11 '19 16:09 unacceptable