[x3d-public] How to tell if a file is JSON
Don Brutzman
brutzman at nps.edu
Mon Nov 30 21:27:15 PST 2015
On 11/30/2015 4:23 PM, John Carlson wrote:
> There might be a comment before the first x3d object.
very interesting observation!
- since JSON does not support comments, and
- since we have come up with an allowable approach for comments inside an X3D scene graph that allows round-trip support with other encodings,
then
- we probably ought to deliberately avoid capturing or including any comments in the JSON encoding that might appear outside the "X3D" object declaration.
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