Resolving the path given the json object

3 views
Skip to first unread message

Alix

unread,
Feb 29, 2012, 4:54:04 PM2/29/12
to Persevere
Hi,
Is there a way to resolve the Jsonpath given the sub-object
properties. Say you have the following json. Is there a way to return
$.properties[1] given a part or whole sub-object of: "name":"combo1".

{
"properties":[
{

"name":"text1",

"value":["textvalue1"]
},
{

"name":"combo1",

"value":["combovalue1"]
}
],
"moreproperties":
[
{
"targetName":"mytarget",
"devices":["Pager","Email"]
}
]

}
Reply all
Reply to author
Forward
0 new messages