r/PythonLearning • u/Owlbuddy121 • Feb 22 '26
JSON vs TOON
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
r/PythonLearning • u/Owlbuddy121 • Feb 22 '26
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.
21
u/[deleted] Feb 22 '26
Thoughts:
JSON is more readable where data is non-uniform (ie not like this example). In this situation TOON is good, but CSV would be better. TOON appears to work best when a mixture of uniform and non-uniform data is needed, a scenario which is unusual but perhaps not that unusual.
The standard for TOON is still evolving and not finalised. That may be an issue for long term support.
Compatibility is important. A lot of software has support for JSON and CSV. TOON is currently supported in the most popular languages, but not in some of the less popular ones.
Overall, what I'm seeing is not terrible. It's something I might consider using in future, for the right use case. It's not something I'm going to rush off and start using right away tho.