[x3d-public] APIs from JSON examples

John Carlson yottzumm at gmail.com
Mon Apr 15 14:05:15 PDT 2024


So instead of creating APIs from X3DUOM, why not create them from JSON
examples?

This is what I am thinking of doing with my glTF CPPON (C++ Object
Notation), for lack of a better C++ or JavaScript glTF API.  Thanks for the
JSON examples, big company, but I’ll let your complex API slide…

That is, I have a batch JSON to C++ serializer that creates one C++ file at
a time from DOM.  Why not create an aggregate serializer that produces API
code?  Maybe X3DJSONLD should not create DOM documents from JSON, but
rather, an API.  APIJSONLD?  I already have a better ALTJSONLD for parsing
glTF examples.  If I can do this without schema or object model, all the
better!

After glTF, I’ll take on the challenge of es6x3d.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240415/b5ef88b4/attachment.html>


More information about the x3d-public mailing list