【问题】
A valid form of a JSON document begins as an Array element. How do you access any element using the JsonDataSource “jsonpath” to query it? I have tried using the standard $[0] for the top level fields and as “$” for creating my subdataset but neither works… when I place the array under a standard element it works fin,e but that is not the format of our JSON.
My JSON loks a bit like this:
[ { “race”: { “raceId”: “1.33.1141109.2”, “startDate”: “2014-11-09T13:15:00.000Z”, “raceClassification”: { “classification”: “Novices’” }, “raceType”: { “key”: “H” }, “raceClass”: 4, “course”: { “courseId”: “1.33” }, “meetingId”: “1.33.1141109” }, “numberOfRunners”: 2, “runners”: [ { “horseId”: “1.00387464”, “trainer”: { “trainerId”: “1.00034060” },