Json Extract one specific element

json
deserialise

#1

Hi,
When using a JSON deserialized string, I’d like to access directly one specific element value.
For instance, if JSON is the following:
{
“product”: “Live JSON generator”,
“id”: 31,
“releaseDate”: “2014-06-25T00:00:00.000Z”,
“demo”: true
}

I know we could use the ForEach Loop as explain in the HowTo… but how to access directly one item when we know the structure ?
I tried with SelectToken(“id”) but nothing is working so far…


Formula to read value from json
#2

Hey @rguich

on your parse json object fire parsed_json_data.GetValue(“id”).ToString.

in above thread reference you will find in sample attachment a way to get specific element. Check it out.

Regards…!!
Aksh


How to Check if A JSON Object Contains A Certain Key?
#3

Hi @aksh1yadav,
It works for me to extract specific element from json object.

Thanks
Mahesh-G