XML vs JSON

JSON advantages
  • Shorter syntax when parent nodes have identifiers that are sufficiently long.
  • Specialized syntax that suggests where booleans, lists and numbers are more likely to be appropriate
  • Less complicated escaping rules. Compare " and & with "\"" and "\\"
XML advantages
  • Native newline support for text childs
  • Special escape syntax for code containing charactesr which conflict with other parts of the syntax(CDATA)
August 28, 2020 alan Uncategorized

1 Comment


test says:
08/25/2020 at 11:46 am

test

Post a comment