[x3d-public] X3D JSON encoding: refactoring, simplifying handling of #comment and #ROUTE

Don Brutzman brutzman at nps.edu
Mon Dec 21 09:35:55 PST 2015


Roy spotted an error:

On 12/19/2015 1:09 PM, Don Brutzman wrote:
> =========================================
> *alternative JSON encoding*
> =========================================
> "-children":[
>    { "#comment":"Shape begin"},
>    { "Shape":
>      {
>        "#comment":[
>          "Sphere begin",
>          "Sphere complete, Appearance begin",
>          "Appearance complete"
>        ],

Corrected excerpt:

=========================================
*alternative JSON encoding*
=========================================
"-children":[
   { "#comment":"Shape begin"},
   { "Shape":
     {
       "-children":[
         "Sphere begin",
         "Sphere complete, Appearance begin",
         "Appearance complete"
       ],

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