|
|
| Article: |
An Introduction to JSON
|
| Subject: |
Good intro, but... |
| Date: |
2007-03-14 23:28:34 |
| From: |
kentam |
|
|
|
|
The sample JSON payload is not consistent with the XML version, or the example access code (do you want 'phoneNumbers' to be a sibling of 'address', or a child?).
Recommend including a caveat against using 'eval' to convert arbitrary payloads to objects, as that's a often a security risk -- use a proper JSON parser which won't execute arbitrary script.
|
|