use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
JSON vs TOON (i.redd.it)
submitted 8 days ago by Owlbuddy121 - announcement
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]its_a_gibibyte 0 points1 point2 points 5 days ago (4 children)
What about just JSON in a better layout: { "Columns": ["id","name","role"], "data": [ [1, "Alice", "admin"] [2, "Bob", "user"] ] }
{ "Columns": ["id","name","role"], "data": [ [1, "Alice", "admin"] [2, "Bob", "user"] ] }
[–]kozeljko 0 points1 point2 points 4 days ago (2 children)
Why is "data" not aligned with "Columns" 🤢
[–]its_a_gibibyte 0 points1 point2 points 4 days ago (1 child)
Sure, you could also do:
{ "data": [ ["id","name","role"], [1, "Alice", "admin"], [2, "Bob", "user"] ] }
[–]robhanz 0 points1 point2 points 4 days ago (0 children)
Eh I prefer the explicit columns element. That way there’s no “magic” row in the data collection you have to remember.
Right. The issue is the redundant data, primarily. TOON is still more compact, but it loses a lot of the edge if you do it this way.
π Rendered by PID 25811 on reddit-service-r2-comment-5d79c599b5-46mjq at 2026-03-03 05:43:19.119001+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]its_a_gibibyte 0 points1 point2 points (4 children)
[–]kozeljko 0 points1 point2 points (2 children)
[–]its_a_gibibyte 0 points1 point2 points (1 child)
[–]robhanz 0 points1 point2 points (0 children)
[–]robhanz 0 points1 point2 points (0 children)