ARTICLE
JSON , Parse
The example demonstrates the parsing of JSON
data .
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
The string json is filled with valid JSON , which is then
displayed. The JSON data is parsed by a
JSON reader . The method used is
the same as in the 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 fetched and displayed. It
demonstrates the JSON-XML representation
of the parsed JSON data.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved