|
|
|
|
|
by ntownsend
5932 days ago
|
|
The argument that XML can have various different structures for storing a person's name, while JSON provides one simple solution, doesn't fly. You could run into something like
{
"Person": {
"property": {
"type": "first-name",
"value": "John"
},
"property": {
"type": "last-name",
"value": "Smith"
}
}
} This begs the question, "Why would you do something that convoluted?" Well, you can ask the same of the XML examples, and the answer probably boils down to requirements (or incompetence?). |
|