Extract data from JSON Object

Hi,

I need to extract the last value from the Json Object and I don’t find a solution.

Thanks in advance!

please share with us the JSON as textfile

or use within the immediate panel YourJObjectVar.toString
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum

We do need to know the property name for the access

in general it would be:

Assign Activity:
strValue = YourJObcetVar(“YourLastPropertyName”).Value(Of String)

Or as Int32
intValue = YourJObcetVar(“YourLastPropertyName”).Value(Of int32)

in case that for any reasons the property names are not knowable on runtime

sample:
grafik

we can do:
grafik

1 Like