Okay, I got the JSON validated and can now display the names. But I'm still bogged down with my second question: How to traverse the JSON containing the detail data, find the record, and get the data with
a) 1 RESTService with two JSON objects (myNames and myDetails)
b) 2 RESTServices: with a JSON object placed in each service
Examples would be appreciated.
code{
"myNames" [
{"name": "Name 1","index": 0},
{"name": "Name 2","index": 1}
]
}
{
"myDetails" [
{"name": "Name 1","story":......"},
{"name": "Name 2","story":......"}
]
}
/code