Hello,
I have a JSON message where a variable could alternatively contains a value or a Json string itself.
This is the RPGLE Data structure to MAP json data.
In the example below everything works fine because "name" and "value" are properly mapped into the RPGLE data structure
In this example below "value" contains a Json string itself named "daterange".
There ia an extra level and I would like to parse "value" as a standard rpgle variable.
I will then scan "value" variable for "{daterange:" value and from there extract "endDate" and "startDate" via a new RPGLE structure.
I would like to know if this is possibile via YAJLINTO parser.
Thank you,
Giovanni
I have a JSON message where a variable could alternatively contains a value or a Json string itself.
This is the RPGLE Data structure to MAP json data.
In the example below everything works fine because "name" and "value" are properly mapped into the RPGLE data structure
In this example below "value" contains a Json string itself named "daterange".
There ia an extra level and I would like to parse "value" as a standard rpgle variable.
I will then scan "value" variable for "{daterange:" value and from there extract "endDate" and "startDate" via a new RPGLE structure.
I would like to know if this is possibile via YAJLINTO parser.
Thank you,
Giovanni
Comment