<div dir="auto">Probably because of historical issues with JavaScript and XML parsing. It’s super easy to plug JSON into a JavaScript program, no changes at all. The latest is .jsx and .tsx, though.</div><div dir="auto"><br></div><div dir="auto">Since the web browsers really like consuming JSON, they needed to secure the JSON, so JSON parsers were created, validation makes it safer to avoid writing factory patterns and dispatch tables all over the place, essentially replacing APIs, but yes, APIs are making a comeback with TypeScript.</div><div dir="auto"><br></div><div dir="auto">I’m not sure what was wrong with Java, frankly, except DX with WebLogic and Eclipse.</div><div dir="auto"><br></div><div dir="auto">JSON itself is already a standard. <div style="font-size:inherit"><a href="https://ecma-international.org/publications-and-standards/standards/ecma-404/" style="font-size:inherit">https://ecma-international.org/publications-and-standards/standards/ecma-404/</a></div></div><div dir="auto"><br></div><div dir="auto">JSON also has basic types, like numbers, which aren’t available to XML. Likewise, JSON doesn’t provide CDATA or string literals. JSON and XML have distinct differences, and you should figure out what’s best for you.</div><div dir="auto"><br></div><div dir="auto">The biggest issue is why XML/HTML was written at all, when a C++ parser could have done the same thing as an XML parser.</div><div dir="auto"><br></div><div dir="auto">If you’re interested in a C++ parser which produces a DOM document, I’m working on one. I just recently converted a Java version one I’m working in JavaScript.</div><div dir="auto"><br></div><div dir="auto">I am developing inside x_ite currently, but it’s not tied to x_ite. It’s closely tied to ANTLR4.</div><div dir="auto"><br></div><div dir="auto">Hopefully, if it’s not too hard, and I’m not too distracted, we’ll have a X3D C++ encoding people can really bite into.</div><div dir="auto"><br></div><div dir="auto">John </div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, May 12, 2026 at 4:29 PM <<a href="mailto:cbullard@hiwaay.net">cbullard@hiwaay.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2026-05-12 11:18 am, John Carlson via x3d-public wrote:<br>
> JSON schema standard appears to be progressing. Draft announced:<br>
> <br>
> <a href="https://www.ietf.org/archive/id/draft-ietf-jsonschema-json-schema-00.html" rel="noreferrer" target="_blank">https://www.ietf.org/archive/id/draft-ietf-jsonschema-json-schema-00.html</a><br>
> <br>
> ---------- Forwarded message ---------<br>
> From: <<a href="mailto:internet-drafts@ietf.org" target="_blank">internet-drafts@ietf.org</a>><br>
> Date: Tue, May 12, 2026 at 10:44 AM<br>
> Subject: [Json] I-D Action: draft-ietf-jsonschema-json-schema-00.txt<br>
> To: <<a href="mailto:i-d-announce@ietf.org" target="_blank">i-d-announce@ietf.org</a>><br>
> CC: <<a href="mailto:json@ietf.org" target="_blank">json@ietf.org</a>><br>
> <br>
> Internet-Draft draft-ietf-jsonschema-json-schema-00.txt is now<br>
> available. It<br>
> is a work item of the JSON Schema (JSONSCHEMA) WG of the IETF.<br>
> <br>
> Title: JSON Schema<br>
> Authors: Lisa Dusseault<br>
> Austin Wright<br>
> Henry H. Andrews<br>
> Name: draft-ietf-jsonschema-json-schema-00.txt<br>
> Pages: 99<br>
> Dates: 2026-05-12<br>
> <br>
> Abstract:<br>
> <br>
> JSON Schema defines the media type "application/schema+json", a<br>
> JSON-<br>
> based format for describing the structure of JSON data. JSON<br>
> Schema<br>
> asserts what a JSON document must look like, ways to extract<br>
> information from it, and how to interact with it. The<br>
> "application/<br>
> schema-instance+json" media type provides additional feature-rich<br>
> integration with "application/schema+json" beyond what can be<br>
> offered<br>
> for "application/json" documents.<br>
> <br>
> The IETF datatracker status page for this Internet-Draft is:<br>
> <a href="https://datatracker.ietf.org/doc/draft-ietf-jsonschema-json-schema/" rel="noreferrer" target="_blank">https://datatracker.ietf.org/doc/draft-ietf-jsonschema-json-schema/</a><br>
> <br>
> There is also an HTML version available at:<br>
> <a href="https://www.ietf.org/archive/id/draft-ietf-" rel="noreferrer" target="_blank">https://www.ietf.org/archive/id/draft-ietf-</a><br>
Why are they reinventing XML?<br>
<br>
len<br>
<br>
jsonschema-json-schema-00.html<br>
> <br>
> Internet-Drafts are also available by rsync at:<br>
> rsync.ietf.org::internet-drafts<br>
> <br>
> _______________________________________________<br>
> json mailing list -- <a href="mailto:json@ietf.org" target="_blank">json@ietf.org</a><br>
> To unsubscribe send an email to <a href="mailto:json-leave@ietf.org" target="_blank">json-leave@ietf.org</a><br>
> _______________________________________________<br>
> x3d-public mailing list<br>
> <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>