How can I access this data?
Here is my Json:
{
"6a768d67-82fb-4dd9-9433-d83dbd2f1b78": {
"name": "Bahut",
"11": {
"timestamp": 1380044486000,
"value": "false"
}
},
"4f4a65e4-c41b-4038-8f62-76fe69fedf60": {
"name": "Vit",
"11": {
"timestamp": 1380109392000,
"value": "false"
}
},
"a12d22cc-240e-44d6-bc58-fe17dbb2711c": {
"name": "Cuis",
"11": {
"timestamp": 1379883923000,
"value": "false"
}
}
}
I'm trying to read and extract for each entries the id (xxxxxxxx-xxxx-...-xxxxxxxxx) and the "name" to put then in an array.
But I didn't manage to do.
trying :
var nameid = json.'XXXXX-....-XXXX'.name;
or replace '-' by ''
var nameid = json.XXXXXXXXX.name;
didn't work too.