Hello I want to read json entries in json array
i want to access Key1 , Value1 , Key2 , Value2 and so on in Json Item array
{ “JsonArray” :
[
{“Key1” : “Value1”,“Key2” : “Value2”,“Key3” : “Value3”,“Key4” : “Value4”,“Key5” : “Value5”}
]
}
Could you assist?
Thanks
Hi Nikhil,
If your data in Json format then you can use this steps shown in UiPath academy
First read the the file or assign as string in Variable
Or u can directly visit this academy page
1 Like
To add to this, if your JSON is nested, you can use the below approach:
JsonObject.("A").SelectToken("YourKey").ToString or
JsonObject.("A")("B").SelectToken("YourKey").ToString
The first one looks for the key under node A and the second one looks for the key under node B which is under node A.