Open tbrodbeck opened 3 years ago
Hey @tbrodbeck
Thanks for the suggestion, I know this is a very subjective point and people will view this differently, I feel like your proposed solution is less readable than the current JSON formatting. As a human, it would take me a lot longer to scan through those nested objects.
I'm not sure that I believe that having a reduced amount of lines (35% in your suggestion) makes something instantly more readable - It could all be on a single line and be unreadable too people.
Just so I'm getting the full picture here, are you using a tool/plugin to add this formatting or has this been done manually in a text editor?
Hi Dainton. Thanks for your input.
I generated this formatting with Python:
import pprint
pprint.pprint({
"size": 1,
"rows": ["etc"],
"aggregations": {}
})```
Is your feature request related to a problem? Please describe. Current JSON Formatting looks like:
Describe the solution you'd like A preferred more concise formatting (of pprint):
-> 35% less lines. Clearer readability. Additional context Thats about it. Thank you.