[x3d-public] JSON parsing X3D archive

John Carlson yottzumm at gmail.com
Sun May 23 21:45:21 PDT 2021


Result of testing JSON parsing (not schema validation) on X3D archive 
(older version of Savage).  Not sure why there's a difference for 
Scanning folder.  I will attempt to get a fresh version of Savage.

John

$ grep Failed results.txt |grep -v originals|grep -v Xvl|grep -v development
Failed JSON parse 
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/XmpMetadataEmbedded.json 
SyntaxError: Unexpected token { in JSON at position 5705
Failed JSON parse 
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/SplitChannels.json 
SyntaxError: Unexpected token { in JSON at position 6796
Failed JSON parse 
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/SpatialAudioCameraAnimation.json 
SyntaxError: Unexpected token T in JSON at position 3420
Failed JSON parse 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/Scenarios/LimitedObjectiveExperimentPortHueneme/LimitedObjectiveExperimentPortHuenemeDIS.json 
SyntaxError: Unexpected string in JSON at position 11316
Failed JSON parse 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/Scenarios/LimitedObjectiveExperimentPortHueneme/LimitedObjectiveExperimentPortHueneme.json 
SyntaxError: Unexpected string in JSON at position 10445
Failed JSON parse 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/Locations/PanamaCityFlorida/PanamaCityGeo.json 
SyntaxError: Unexpected string in JSON at position 5198
Failed JSON parse 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/SphericalMinePrototype.json 
SyntaxError: Unexpected string in JSON at position 23534


$ grep parse javaresults.txt |grep -v HelloWorld
json-parse json Expected a ':' after a key at 6302 [character 24 line 
181] 
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/XmpMetadataEmbedded.json
json-parse json Expected a ':' after a key at 7275 [character 31 line 
193] 
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/SplitChannels.json
json-parse json Expected a ':' after a key at 8735 [character 37 line 
240] 
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/SpatialAudioCameraAnimation.json
json-parse json Duplicate key "-children" at 21909 [character 20 line 
537] 
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/ScannerMetadataExample33.json
json-parse json Expected a ',' or ']' at 11317 [character 34 line 260] 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/Scenarios/LimitedObjectiveExperimentPortHueneme/LimitedObjectiveExperimentPortHuenemeDIS.json
json-parse json Expected a ',' or ']' at 10446 [character 34 line 241] 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/Scenarios/LimitedObjectiveExperimentPortHueneme/LimitedObjectiveExperimentPortHueneme.json
json-parse json Expected a ',' or ']' at 5199 [character 30 line 178] 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/Locations/PanamaCityFlorida/PanamaCityGeo.json
json-parse json Expected a ',' or ']' at 23535 [character 31 line 523] 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/SphericalMinePrototype.json




More information about the x3d-public mailing list