[X3D-Ecosystem] JSON to DOM to Bindings

John Carlson yottzumm at gmail.com
Tue Jun 24 01:18:37 PDT 2025


I am documenting the subject line here.

To convert X3D JSON to DOM to Bindings in X3DJSONLD:

$ cd X3DJSONLD/src/main

Place X3D JSON files in ./data/.  The name should end in .json, and not
include “new.”

$ cd ./shell/.

Edit classpath file to taste.

Convert files:

$ bash runjson.sh

Look at log for errors.

$ cd ../.

Look in */net/coderextreme/data/. for your output.

Edit ./node/json2all.js to add or configure serializers converting from DOM.

Recent Serializers include ./node/PythonSerializerX3DJSAIL.js and
./node/GuraSerializer.js

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250624/1e28dab4/attachment.html>


More information about the X3D-Ecosystem mailing list