Get the attributes Values from the deserialized Json Output

Hi,
Good afternoon,

I want to get the label Values from the deserialized Output data. For your reference, attached is the output data below.
{
“response”: {
“label”: “UnstrikeoutImage”,
“confidence”: 0.6699782013893127
}
}

I want to retrieve “label” attribute information.

Thanks in advance.

HI @Iswarya_P1

The Json Data will be stored in a variable and pass that variable into the Deserialize Json activity and by using the output of the Deserialize json Activity let’s say JsonObject use the syntax as shown above.

Regards

Hi @Iswarya_P1

Please check the below workflow:

JsonObject("response")("label").ToString()


Main.xaml (13.5 KB)

Regards

Hi @Iswarya_P1

Use below expression in Assign Activity

JsonObject(“response”)(“label”).ToString

Hope it will helps you :slight_smile:
Cheers!!