29 January 2014

XML versus JSON

  • Advantages of XML: document markup
    • XML schema
      • namespaces
      • strong widespread validation
      • data type reuse
      • references
    • mixed content, CDATA
    • comments
    • XPath querying
  • Advantages of JSON: data interchange
    • concise format
    • JavaScript subset, builtin parser
    • arrays

No comments:

Post a Comment