JSON root element

keane6

New Member
Does JSON require a root element as in xml case. As far as i know this is a valid json string.\[code\]{ "email":[ { "type":"home", "name":"[email protected]" }, { "type":"work", "name":"[email protected]" } ]}\[/code\]I need to convert json to xml an vice versa. However although the above is a valid json when i convert it to xml it is not valid ? Am I missing something or this is normal?
 
Back
Top