29 January 2014

XML versus JSON

  • Advantages of XML
    • XML schema
      • namespaces
      • strong widespread validation
      • data type reuse
    • comments
    • XPath querying
  • Advantages of JSON
    • concise format
    • JavaScript builtin eval parser
    • scalar datatypes
    • arrays