HI Every one,
i was trying to read Json message and i could able to read header but not the inner node (Lines) in List details
any suggestion or any existing classes which we have for sub noted in system.
str json;
List values = new List(Types::Class);
ListEnumerator value;
json = '[{"FieldValues": [{"parmFirst": "ValueFirst", "parmSecond": "ValueSecond", "Lines":[{"parmFirst": "ValueFirst", "parmSecond": "ValueSecond"}] }]}]';
values = FormJsonSerializer::deserializeCollection(classnum(List), json, Types::Class, classStr(JSONContract));
value = values.getEnumerator();
while(value.moveNext())
{
JSONContract JSONContractCurrent = value.current();
info(strfmt('%1',JSONContractCurrent.parmFirst(), JSONContractCurrent.parmSecond()));-- Values are getting
info(strfmt('%1',JSONContractCurrent.parmLinesDetail())) -- empty List
}
Thanks in Advance.