Compact but pretty JSON printing #2348
Unanswered
dufferzafar
asked this question in
Ideas
Replies: 3 comments
-
try compact-json? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I would love to see this as well. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@willmcgugan This formatting behavior exists with dictionaries using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently,
print_json
prints a json in a format that I would describe as "too verbose".Where each element is on it's own line.
Having a compact representation would be better!
We could take into account the terminal width while doing this!
See also:
Beta Was this translation helpful? Give feedback.
All reactions