[ANSWERED] Json question (id)
I am studying Json structure to better understand the bundling and the parsing of data. Although Mark's examples in the help section of the site are clear and function perfectly I tried other examples and I wasn't able to make the work completely. I think it has to do with how Isadora is managing the id
As you can see in the image it is pretty simple, but Id don't seem to work correctly. The example was taken here
What is wrong ?
pretty simple, but Id don't seem to work correctly
I believe it is working as expected. The issue here is that the selection is not done using the "id" value in the JSON data. The selection is made based on the numeric index. The index is zero-based, so this is why you see selecting 0 outputs the JSON with the 'id' of '01'. The position-based index has no relationship to the data's "id".
If you want to combine the selections together so you use fewer JSON Parsers, I added a few to the bottom of this screen capture.
Thanks a lot @dusx,
loop through the values
I wasn't sure how you wanted to find the values.
In the case of these student ID's you might search for the student with the id of "01" get the details for Tom Price.