Difference between revisions of "X3D JSON Encoding"

From Web3D.org
Jump to: navigation, search
(Created page with "Preliminary notes on the creation of an X3D JSON encoding. * Don Brutzman started a thread on the X3D-Public list. ** Initial message [http://web3d.org/pipermail/x3d-public_we...")
 
Line 3: Line 3:
 
** Initial message [http://web3d.org/pipermail/x3d-public_web3d.org/2014-July/002854.html]
 
** Initial message [http://web3d.org/pipermail/x3d-public_web3d.org/2014-July/002854.html]
 
** July's thread listing [http://web3d.org/pipermail/x3d-public_web3d.org/2014-July/thread.html]
 
** July's thread listing [http://web3d.org/pipermail/x3d-public_web3d.org/2014-July/thread.html]
* Conversion Issues
+
== Conversion Issues ==
** How to convert attribute names to distinguish them from child elements
+
* How to convert attribute names to distinguish them from child elements
** Handling of container elements
+
* Handling of container elements
** Creation of JSON elements with datatypes appropriate to content (e.g., integer, float, strings, etc.)
+
* Creation of JSON elements with datatypes appropriate to content (e.g., integer, float, strings, etc.)
** Inclusion of XML namespaces
+
* Inclusion of XML namespaces
** Handing of comments in the source
+
* Handing of comments in the source
** Don reported that self-closing tags are not missing from his test runs
+
* Don reported that self-closing tags are not missing from his test runs
* References
+
== References ==
** XML to JSON Converter (provides option to assign a prefix to JSON attributes, default is @ character) [http://www.freeformatter.com/xml-to-json-converter.html]
+
* XML to JSON Converter (provides option to assign a prefix to JSON attributes, default is @ character) [http://www.freeformatter.com/xml-to-json-converter.html]
** Apache Camel, XML JSON Data Format (camel-xmljson) [http://camel.apache.org/xmljson.html]
+
* Apache Camel, XML JSON Data Format (camel-xmljson) [http://camel.apache.org/xmljson.html]
** JSON Markup Language (JsonML) [http://www.jsonml.org/]
+
* JSON Markup Language (JsonML) [http://www.jsonml.org/]
** XSLTJSON: Transforming XML to JSON using XSLT [http://www.bramstein.com/projects/xsltjson/]
+
* XSLTJSON: Transforming XML to JSON using XSLT [http://www.bramstein.com/projects/xsltjson/]
** Converting Between XML and JSON [http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html]
+
* Converting Between XML and JSON [http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html]
** XML/JSON Perl Converter [http://search.cpan.org/~ken/XML-XML2JSON-0.06/lib/XML/XML2JSON.pm]
+
* XML/JSON Perl Converter [http://search.cpan.org/~ken/XML-XML2JSON-0.06/lib/XML/XML2JSON.pm]
** IBM's PHP converter [http://www.ibm.com/developerworks/library/x-xml2jsonphp/]
+
* IBM's PHP converter [http://www.ibm.com/developerworks/library/x-xml2jsonphp/]
** Java Converter [http://www.json.org/javadoc/org/json/XML.html]
+
* Java Converter [http://www.json.org/javadoc/org/json/XML.html]
** Google Code Library [https://code.google.com/p/x2js/]
+
* Google Code Library [https://code.google.com/p/x2js/]

Revision as of 23:08, 19 August 2014

Preliminary notes on the creation of an X3D JSON encoding.

  • Don Brutzman started a thread on the X3D-Public list.
    • Initial message [1]
    • July's thread listing [2]

Conversion Issues

  • How to convert attribute names to distinguish them from child elements
  • Handling of container elements
  • Creation of JSON elements with datatypes appropriate to content (e.g., integer, float, strings, etc.)
  • Inclusion of XML namespaces
  • Handing of comments in the source
  • Don reported that self-closing tags are not missing from his test runs

References

  • XML to JSON Converter (provides option to assign a prefix to JSON attributes, default is @ character) [3]
  • Apache Camel, XML JSON Data Format (camel-xmljson) [4]
  • JSON Markup Language (JsonML) [5]
  • XSLTJSON: Transforming XML to JSON using XSLT [6]
  • Converting Between XML and JSON [7]
  • XML/JSON Perl Converter [8]
  • IBM's PHP converter [9]
  • Java Converter [10]
  • Google Code Library [11]