[x3d-public] X3D to JSON Stylesheet Converter - tools; omitting overall [array brackets]

Don Brutzman brutzman at nps.edu
Thu Nov 5 04:49:47 PST 2015


thanks for the tool links.

have added links for the tools that seemed to offer most general interest and usefulness to authors at

	http://www.web3d.org/x3d/stylesheets/X3dToJson.html#Tools

in the meantime, while using

	Json Parser Online
	http://json.parser.online.fr

noticed that we have been wrapping every X3D JSON scene in [array brackets] for no apparent reason... probably a holdover from an early example.

OK to remove those?  for example,
[
  { "X3D":[
     {
       "@profile":"Immersive",
       "@version":3.3,
       "@xsd:noNamespaceSchemaLocation":"http://www.web3d.org/specifications/x3d-3.3.xsd",
       "head":[
       ],
       "Scene":[
       ]
     }
   ]
  }
]

becomes

  { "X3D":[
     {
       "@profile":"Immersive",
       "@version":3.3,
       "@xsd:noNamespaceSchemaLocation":"http://www.web3d.org/specifications/x3d-3.3.xsd",
       "head":[
       ],
       "Scene":[
       ]
     }
   ]
  }

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the x3d-public mailing list