[X3D-Public] support for JSON in X3D players?

Don Brutzman brutzman at nps.edu
Mon Mar 18 08:48:57 PDT 2013

There have been a number of interesting discussions in recent months 
regarding JSON.

"JSON (JavaScript Object Notation) is a lightweight data-interchange 
format. It is easy for humans to read and write. It is easy for machines 
to parse and generate. It is based on a subset of the JavaScript 
Programming Language, Standard ECMA-262 3rd Edition - December 1999. 
JSON is a text format that is completely language independent but uses 
conventions that are familiar to programmers of the C-family of 
languages, including C, C++, C#, Java, JavaScript, Perl, Python, and 
many others. These properties make JSON an ideal data-interchange language."

Given that JSON is based on the same Javascript version as that used by 
X3D, wondering:  which X3D players support JSON in the script node?

- BitManagement's BS Contact
- Fraunhofer InstantReality
- Fraunhofer X3DOM
- FreeWRL/FreeX3D
- Xj3D
- SwirlX3D
- Sensegraphics H3DAPI
- Octaga Player
- Castle Game Engine
- libx3d
- OpenVRML

Status reports (yes/no/maybe someday) will be welcome.

It would be great to be able to exchange JSON data from within an 
embedded X3D script, or from an HTML/script/X3DOM page, back to an http 
server.  These might be some really cool examples.

Meanwhile, several of us are interested in examining whether an X3D 
encoding using JSON might have any use.  It probably isn't too hard to 
define an X3D encoding in JSON, we could write a stylesheet to produce 
that from the X3D Schema.

We expect that
- JSON is a candidate for streaming mesh compression
- JSON is an alternative for DIS animation streaming
- JSON as part of the forthcoming X3D Compressed Binary Encoding 
improvement efforts

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