Please research how this .x3d:
<NavigationInfo
type='"EXAMINE", "FLY", "WALK", "ANY"'/>
gets converted into JSON:
{ "NavigationInfo":
{
"@type":[", ","EXAMINE, ","FLY, ","WALKANY"]
}
},
When it should look like this JSON:
{ "NavigationInfo":
{
"@type":["EXAMINE","FLY","WALK","ANY"]
}
},
Note that it looks like the commas are the issue, so I will remove them! This produces good JSON:
<NavigationInfo
type='"EXAMINE" "FLY" "WALK" "ANY"'/>
Diff: