mercredi 28 mai 2014

Is this JSON JSONP is able to read somehow ?

I've got the JSON below:

Code:



[
[
{
"Key": "mobilephone",
"Value": "(430) 565-1212"
},
{
"Key": "firstname",
"Value": "John"
}
],
[
{
"Key": "mobilephone",
"Value": "(430) 565-1313"
},
{
"Key": "firstname",
"Value": "Mark"
}
]
]

JSONLint says it's all good. But I don't really have any top element like "allElements" or anything.

FWIW, the JSON comes from an ASP MVC WebAPI web service and I can change it if need be. (It's a List<AttributeCollection>. AttributeCollection is also somewhat of a list as you can see).


Thanks!





Aucun commentaire:

Enregistrer un commentaire