JSON (JavaScript Object Notation) is a text format, independent yet within the conventions of programming languages. Its main function is to handle data. An example for a tweet could look like this:
JSON:
{
“userpic”: “profilePic001″,
“username”: “Johannes”,
“message”: {
“updateText”: “This is my update”,
“dateCreated”: “01.01.2001″,
}
}
XML:
/images/profile001.jpg
Johannes
This is my update
01.01.2001
*WordPress keeps deleting the XML tags