I have a simple JSON file that I want to query. I parse my JSONtest project file from AJAX.LastData :
{
"story": [
{
"name": "Chapter 1",
"char": "John"
},
{
"name": "Chapter 2",
"char": "Jane"
},
{
"name": "Chapter 3",
"char": "Sue"
}
]
}
I can display JSONtest.Get("story.1.name") as "Chapter 1". How do I find the name for the story with char = "Jane"? I've tried JSONtest.Get("story.[?(char='Jane')].name"), but only got a zero. Any suggestions?
Thanks