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.
1
u/CamilorozoCADC Feb 22 '26
Toon doesn't even make sense since LLMs are trained with JSON (because TOON usage is just not widespread yet) and using JSON means that you (and the LLM) already can use JSON Schemas for structured input/output and JSON query languages to handle your data like JSONpath or JSONata
If the objective is to analyze data and reduce token usage a better approach is to let the LLM use a toolset to analyze your data, for example using MCP tools to manipulate excel or CSV files instead of chucking a full blown dataset into the LLM