Question
Infosys
IN
Last activity: 3 Oct 2018 1:41 EDT
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.