r/PythonLearning • • Feb 22 '26

JSON vs TOON

Post image

Anyone have thoughts on this?

What’s your opinion on using a Toon-style JSON approach? Curious to hear different perspectives and real-world experiences.

1.3k Upvotes

167 comments sorted by

View all comments

21

u/Cybasura Feb 22 '26

JSON fundamentally is a clean dictionary-like data structure that is actually really nice, just fell short of the comment support by it's foundational design

TOON basically took JSON and somehow made it harder to dynamically manage

1

u/UnicodeConfusion Feb 23 '26

>  just fell short of the comment support by it's foundational design

This is the part that frustrates me more than anything. Aside from naming files by the content (i.e. pom.xml instead of pom.mvn - which would let me know the intent of the file instead that's is an 'xml' file) Ugh I'm old.

1

u/Cybasura Feb 23 '26

Yeah whenever I use JSON, I have little to no gripes alot of the time but the second I want to write comments by muscle memory - I weep at the thought of the (loss of) potential

1

u/sardinian-dude Feb 25 '26

“//“: “heyyyy”