SAP ABAP JSON OO READER ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_JSON - Parsing
The example demonstrates the parsing of JSON data .

ABAP_SOURCE_CODE
DEMO CL_DEMO_JSON_OO_READER

ABAP_DESCRIPTION
The string json is filled with valid JSON data, which is then displayed. The JSON data is parsed by a JSON reader. The method used is the same as in the executable example sXML Library, Object-Oriented Parsing. The information about the parsed nodes is appended to an internal table and then displayed.
Also, an XML string writer for the standard XML 1.0 is filled with the nodes. The output string is obtained and displayed. It demonstrates the JSON-XML representation of the parsed JSON data.