Ansicht
Dokumentation

ABENABAP_JSON_OO_READER_ABEXA - ABAP JSON OO READER ABEXA

ABENABAP_JSON_OO_READER_ABEXA - ABAP JSON OO READER ABEXA

PERFORM Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

- Parsing

The example demonstrates the parsing of JSON data.

Source Code

Execute

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.






PERFORM Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 1071 Date: 20240419 Time: 185255     sap01-206 ( 13 ms )