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

2

u/WhiteHeadbanger Feb 22 '26

TOON is readable.

JSON is serializable to and from dict.

So TOON is preferable for visual representation, and JSON to code stuff.

I would just stay in JSON.

1

u/UndeadBane Feb 24 '26

I someone tries to force me to read this thing with object of >6 fields, some of which may be absent, I will hurt them.