Question

3
Replies
1134
Views
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
Posted: 23 Aug 2018 5:06 EDT
Last activity: 3 Oct 2018 1:41 EDT
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, 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.