Get value from json

Hi ,i’m Chen
%E7%84%A1%E9%A1%8C
I want to get the array,but failed,i tryied like this:
first i read into the json.file,and the output of Deserialize json activity is deserializedJson,then i start to retrive data:
deserializedJson(“name”).Value(of string) --success
deserializedJson(“memberList”).Value(of string) --failed

can anyone help me.
Thank you.

Hi @chen

You can follow this link for the solution to retrieve value from json.
https://forum.uipath.com/t/json

Thanks
Girish

1 Like

Since memberlist is an array, you should do somethinf like this

deserializedJson("packaging")("memberList")(0).ToString -- 1st element in array

Thank you a lot.
i failed in trying deserializedJson(“packaging”)(“memberList”)[0].ToString before,but**()** works

i’m so sorry,when i clicked the link,the message "Oops! That page doesn’t exist or is private."poped up.Where can i know more examples about json.
Thaks.
Chen