<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="https://sandfox.me/assets/xml/atom.xsl" type="text/xsl media="all"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom">
  <title>Sand Fox (Posts about json)</title>
  <id>https://sandfox.me/tags/json.xml</id>
  <updated>2026-01-05T10:06:10Z</updated>
  <author>
    <name>Anton Smirnov</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://sandfox.me/tags/json.xml"/>
  <link rel="alternate" type="text/html" href="https://sandfox.me/tags/json.html"/>
  <generator uri="https://getnikola.com/">Nikola</generator>
  <entry>
    <title>A Case for JSON6</title>
    <id>https://sandfox.me/misc/json6.html</id>
    <updated>2025-04-19T06:43:00+03:00</updated>
    <published>2025-04-19T06:43:00+03:00</published>
    <author>
      <name>Anton Smirnov</name>
    </author>
    <link rel="alternate" type="text/html" href="https://sandfox.me/misc/json6.html"/>
    <summary type="html">&lt;div&gt;&lt;p&gt;Just a required follow up &lt;a class="reference external" href="https://sandfox.me/misc/json5.html"&gt;for the previous post&lt;/a&gt;: JSON5 sucks too, like any other possible format.
Just look at this:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code javascript"&gt;&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-1" name="rest_code_8b2f3c194d224029ba64edece311512e-1" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-1"&gt;&lt;/a&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-2" name="rest_code_8b2f3c194d224029ba64edece311512e-2" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-2"&gt;&lt;/a&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nx"&gt;certificate&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"\&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-3" name="rest_code_8b2f3c194d224029ba64edece311512e-3" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-3"&gt;&lt;/a&gt;&lt;span class="s2"&gt;-----BEGIN PRIVATE KEY-----\n\&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-4" name="rest_code_8b2f3c194d224029ba64edece311512e-4" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-4"&gt;&lt;/a&gt;&lt;span class="s2"&gt;MIIBVQIBADANBgkqhkiG9w0BAQEFAASCAT8wggE7AgEAAkEAt6wGEsfdarMo9KET\n\&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-5" name="rest_code_8b2f3c194d224029ba64edece311512e-5" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-5"&gt;&lt;/a&gt;&lt;span class="s2"&gt;sNv9gpBWkGfhIq3/Jhr14+3d8TXprmTk/XWReo5DA3+SbB7ebF3xUtN/4K5lUkcG\n\&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-6" name="rest_code_8b2f3c194d224029ba64edece311512e-6" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-6"&gt;&lt;/a&gt;&lt;span class="s2"&gt;1AbdywIDAQABAkBuMbfnFqAhvuFoeydMKYAcECrPMnOhEdENdIlnuTM53kBf18f/\n\&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-7" name="rest_code_8b2f3c194d224029ba64edece311512e-7" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-7"&gt;&lt;/a&gt;&lt;span class="s2"&gt;KaWRWv8ViuZ31GpArY8cBzj0YG30vE49Il8ZAiEA7PpotzcpjNcMKnwEBm3q0c6H\n\&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-8" name="rest_code_8b2f3c194d224029ba64edece311512e-8" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-8"&gt;&lt;/a&gt;&lt;span class="s2"&gt;3RRZD6i32Q/vXcQBeB0CIQDGaj4BJ/fuqiHvKzetfjhpOD+sYr3VDgEyjTcojhzZ\n\&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-9" name="rest_code_8b2f3c194d224029ba64edece311512e-9" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-9"&gt;&lt;/a&gt;&lt;span class="s2"&gt;BwIgTBRYafmbrUuc7EbERAwlxxW3KJLPxOc1nsou3rt+fUECIQCjBGUfJAyDDUtG\n\&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-10" name="rest_code_8b2f3c194d224029ba64edece311512e-10" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-10"&gt;&lt;/a&gt;&lt;span class="s2"&gt;KpbbN0n3wRwncRUQuCnps7Zu3pv6/wIhAIIcKty7O0T7auctlpMSdyw6vp0w818x\n\&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-11" name="rest_code_8b2f3c194d224029ba64edece311512e-11" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-11"&gt;&lt;/a&gt;&lt;span class="s2"&gt;namFjg3cbBs4\n\&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-12" name="rest_code_8b2f3c194d224029ba64edece311512e-12" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-12"&gt;&lt;/a&gt;&lt;span class="s2"&gt;-----END PRIVATE KEY-----\n"&lt;/span&gt;
&lt;a id="rest_code_8b2f3c194d224029ba64edece311512e-13" name="rest_code_8b2f3c194d224029ba64edece311512e-13" href="https://sandfox.me/misc/json6.html#rest_code_8b2f3c194d224029ba64edece311512e-13"&gt;&lt;/a&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="https://sandfox.me/misc/json6.html"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</summary>
    <category term="configuration" label="configuration"/>
    <category term="json" label="json"/>
    <category term="json5" label="json5"/>
    <category term="json6" label="json6"/>
  </entry>
  <entry>
    <title>Is JSON5 a better JSON?</title>
    <id>https://sandfox.me/misc/json5.html</id>
    <updated>2025-04-16T06:10:00+03:00</updated>
    <published>2025-04-16T06:10:00+03:00</published>
    <author>
      <name>Anton Smirnov</name>
    </author>
    <link rel="alternate" type="text/html" href="https://sandfox.me/misc/json5.html"/>
    <summary type="html">&lt;p&gt;Yes it is, at least when it comes to configuration files.&lt;/p&gt;
&lt;p&gt;&lt;a class="reference external" href="https://sandfox.me/misc/file-formats-misuse.html"&gt;As I said earlier&lt;/a&gt;, JSON is a good serialization language but a terrible config language.
JSON5 builds on its strong sides: it's backwards compatible with JSON and is still a subset of JavaScript and
it is still relatively easy to parse.
Then it adds all the good stuff like unquoted keys, trailing commas, and a must-have thing for any config, comments.
For me it has only two real downsides, both really minor.
First is, as most config-oriented languages, it's tricky for automated modification, a feature it shares with TOML and YAML.
The second one is &lt;a class="reference external" href="https://github.com/d3x0r/JSON6"&gt;JSON6&lt;/a&gt;, while ES6 syntax sugar is nice, it's just a &lt;a class="reference external" href="https://xkcd.com/927/"&gt;15th competing standard&lt;/a&gt;, and the worst, competing with itself.&lt;/p&gt;</summary>
    <category term="configuration" label="configuration"/>
    <category term="json" label="json"/>
    <category term="json5" label="json5"/>
  </entry>
  <entry>
    <title>On Common Misuse of the File Formats</title>
    <id>https://sandfox.me/misc/file-formats-misuse.html</id>
    <updated>2019-10-25T18:20:00+03:00</updated>
    <published>2019-10-25T18:20:00+03:00</published>
    <author>
      <name>Anton Smirnov</name>
    </author>
    <link rel="alternate" type="text/html" href="https://sandfox.me/misc/file-formats-misuse.html"/>
    <summary type="html">&lt;div&gt;&lt;p&gt;A small rant about text file format holy wars.
I believe that most of the file formats that participate in these holy wars are rather good
and the most of the frustration comes from their misuse.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sandfox.me/misc/file-formats-misuse.html"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</summary>
    <category term="configuration" label="configuration"/>
    <category term="documents" label="documents"/>
    <category term="json" label="json"/>
    <category term="serialization" label="serialization"/>
    <category term="toml" label="toml"/>
    <category term="xml" label="xml"/>
    <category term="yaml" label="yaml"/>
  </entry>
</feed>
