How to get value from the following JSON format?

{"SaveValues":[{"id":1,"allposition":{"x":-1.2172099351882935,"y":-8.105951309204102},
"allrotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"allscale":{"x":1.0,"y":1.0},
"linepos0":{"x":0.0,"y":0.0,"z":0.0},"linepos1":{"x":0.0,"y":0.0,"z":0.0},"movetype":1},
{"id":4,"allposition":{"x":-0.9284783005714417,"y":-6.8908233642578129},
"allrotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"allscale":{"x":1.0,"y":1.0},
"linepos0":{"x":0.0,"y":0.0,"z":0.0},"linepos1":{"x":0.0,"y":0.0,"z":0.0},"movetype":1}],
"NoteValues":[{"movenumber":1,"notemsg":"Pass the ball"}]},
{"SaveValues":[{"id":1,"allposition":{"x":-1.2172099351882935,"y":-8.105951309204102},
"allrotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"allscale":{"x":1.0,"y":1.0},
"linepos0":{"x":0.0,"y":0.0,"z":0.0},"linepos1":{"x":0.0,"y":0.0,"z":0.0},
"movetype":2},
{"id":2,"allposition":{"x":-2.385690689086914,"y":-3.567187786102295},
"allrotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"allscale":{"x":1.0,"y":1.0},
"linepos0":{"x":0.0,"y":0.0,"z":0.0},"linepos1":{"x":0.0,"y":0.0,"z":0.0},
"movetype":2},{"id":4,"allposition":{"x":-0.9284783005714417,"y":-6.8908233642578129},
"allrotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"allscale":{"x":1.0,"y":1.0},
"linepos0":{"x":0.0,"y":0.0,"z":0.0},"linepos1":{"x":0.0,"y":0.0,"z":0.0},"movetype":2}],
"NoteValues":[{"movenumber":1,"notemsg":"Pass the ball"},{"movenumber":2,"notemsg":"Defend the ball"}]}

I am looking to take “SaveValues” only the first array elements and “NoteValues” first array elements.How to retrieve it?

How are you processing the JSON in your script? What tool are you using? If you aren’t yet, there are many great free Tools on the asset store that will convert your JSON string into a Dictionary<string, object>. In that case, you simply Access the converted Dictionary under the “SaveValues” key.

https://stackoverflow.com/questions/58407055/how-to-load-selected-data-from-an-json-data-array-then-upon-clicking-next-button
Check this …I have given a detailed explanation on how I am doing it.

Seriously?

I asked similar question here… https://forum.unity.com/threads/how-to-use-json-for-loading-a-data-then-upon-clicking-a-next-button-load-other-set.761210/
But could not get an answer so posted in stackoverflow.I am converting to JSON using Jsonutility.I am just asking how to get only a single array elements “SaveValues” first array.

for (int i = 0;i<JNode["SaveValues"][0].Count;i++)
{
}

When I use the above code it is bringing all the “SaveValues”