[x3d-public] Head to Head, JSON parsers (not validators)
John Carlson
yottzumm at gmail.com
Tue Mar 30 18:42:33 PDT 2021
This first set of JSON files is out of date, need to rerun conversions
X3D XML and make sure they work! I will do the reconversion in a few
minutes.
JavaScript results:
coderextreme at coderextreme-Kubuntu20:~/x3dschema$ grep Failed results.txt
| grep -v node_modules|grep -v development
Failed JSON parse
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/HudKelpForest.json
SyntaxError: Unexpected token , in JSON at position 12368
Failed JSON parse
/c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TextFont.json
SyntaxError: Unexpected token , in JSON at position 3918
Failed JSON parse
/c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Loader.json
SyntaxError: Unexpected token , in JSON at position 8231
Failed JSON parse
/c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Cut.json
SyntaxError: Unexpected token , in JSON at position 12319
Failed JSON parse
/c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Query.json
SyntaxError: Unexpected token , in JSON at position 4342
Failed JSON parse
/c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TextSize.json
SyntaxError: Unexpected token , in JSON at position 3958
Failed JSON parse
/c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Button.json
SyntaxError: Unexpected token , in JSON at position 3487
This is the Java results. These are out of date too!
coderextreme at coderextreme-Kubuntu20:~/x3dschema$ grep json-parse
javaresults.txt |grep -v node_modules|grep -v development
json-parse json JSONObject["@version"] not a string.
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedOriginalEncoding.json
json-parse json JSONObject["@version"] not a string.
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommentedAlternativeEncoding.json
Rerunning donall.sh
Hmm.
John
More information about the x3d-public
mailing list