Question

3
Replies
1125
Views
Close popover
Jayachandra Reddy (Jayachandra Reddy K)
Infosys

Infosys
IN
Jayachandra Reddy K Member since 2017 23 posts
Infosys
Posted: August 23, 2018
Last activity: October 3, 2018
Closed
Solved

JSON util component usage

Is JSON will give the results of inner class properties?

I am trying to read the value of 'Name' using GetValueFromJSON but returns null value.

JSON ex: {
"pxObjClass":"test1"
,"ProfDtls":[
{
"addressType":"1"
,"EffectiveDt":"2018-04-01"
,"EnterpriseID":"1001"
,"IsActive":"true"
,"Name":"test"
,"AddrDtls":{
"FullAddress":"test"
,"pxObjClass":"Test"
}
,"SpecialtyList":[
{
"pxObjClass":"test"
,"Specialty":"test"
,"specialtyCd":"test"
}
]
}
]
}

Given above json and Name as inputs but result is not returning. If simple json then returning results.

Also, let me know how to pass object in case of desterilize the json. I mean how to define the object and pass as input.

Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.