<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Data Structure on AI VOID</title><link>https://ai-blog.noorshomelab.dev/categories/data-structure/</link><description>Recent content in Data Structure on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 15 Nov 2025 03:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/categories/data-structure/index.xml" rel="self" type="application/rss+xml"/><item><title>Core Concepts: Understanding JSON</title><link>https://ai-blog.noorshomelab.dev/json-toon-for-ai-guide/core-concepts-understanding-json/</link><pubDate>Sat, 15 Nov 2025 03:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/json-toon-for-ai-guide/core-concepts-understanding-json/</guid><description>&lt;h1 id="core-concepts-understanding-json"&gt;Core Concepts: Understanding JSON&lt;/h1&gt;
&lt;p&gt;In this chapter, we&amp;rsquo;ll dive deep into the fundamental building blocks of JSON. Understanding these core concepts is crucial for effectively using JSON in any application, especially when preparing structured data for AI models or interpreting their outputs.&lt;/p&gt;
&lt;p&gt;JSON is essentially a way to represent data as text using a simple, human-readable structure. It&amp;rsquo;s built upon universal data structures found in almost all programming languages.&lt;/p&gt;
&lt;h2 id="21-json-values"&gt;2.1 JSON Values&lt;/h2&gt;
&lt;p&gt;At its heart, a JSON document is a single value. This value can be:&lt;/p&gt;</description></item><item><title>Core Concepts: Understanding TOON</title><link>https://ai-blog.noorshomelab.dev/json-toon-for-ai-guide/core-concepts-understanding-toon/</link><pubDate>Sat, 15 Nov 2025 03:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/json-toon-for-ai-guide/core-concepts-understanding-toon/</guid><description>&lt;h1 id="core-concepts-understanding-toon"&gt;Core Concepts: Understanding TOON&lt;/h1&gt;
&lt;p&gt;Now that we have a solid grasp of JSON, it&amp;rsquo;s time to explore its token-efficient cousin, TOON (Token-Oriented Object Notation). While JSON is a general-purpose data format, TOON is purpose-built for AI, specifically to optimize data exchange with Large Language Models (LLMs). This chapter will break down TOON&amp;rsquo;s unique syntax and its core principles.&lt;/p&gt;
&lt;h2 id="31-the-philosophy-behind-toon"&gt;3.1 The Philosophy Behind TOON&lt;/h2&gt;
&lt;p&gt;The primary motivation for TOON is to reduce token consumption when interacting with LLMs. Every character in a prompt or response translates to tokens, and tokens equate to computational cost and context window usage. JSON, with its repetitive keys, quotes, and structural punctuation (braces, brackets, commas), can be quite verbose and expensive in an LLM context.&lt;/p&gt;</description></item></channel></rss>