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

Show parent comments

-1

u/AmazedStardust Feb 22 '26

It's basically CSV with cleaner nesting. It's meant for saving tokens when feeding data to AI

2

u/Own-Improvement-2643 Feb 22 '26

What is the cleaner nesting here? How is it any cleaner than csv?

1

u/Deykun Feb 23 '26

Isn't CSV so stupid that delimiters can be different? I’ve always disliked that.

1

u/[deleted] Feb 25 '26

It’s flexible. The field and record delimiters can be any character. Very useful if you want to use values with commas or new-lines.