Ansicht
Dokumentation

ABENABAP_JSON - ABAP JSON

ABENABAP_JSON - ABAP JSON

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

ABAP and JSON

This section describes how JSON data can be created and read in ABAP. The main topics are

  • processing and creating JSON data using parsers and renderers created and used using the APIs of the sXML Library.
  • the direct transformation of ABAP data to JSON format (serialization) and reading of data in JSON format to ABAP data objects (deserialization) using transformations that exist as programs in the repository.

The handling of JSON data in ABAP is based on the following principles:

  • A JSON-XML format maps JSON data to XML.
  • XML readers and XML writers in sXML Library support JSON-XML and can be used as parsers and renderers of JSON data.

For examples, see the corresponding executable programs in the example library.






CPI1466 during Backup   General Material Data  
This documentation is copyright by SAP AG.

Length: 1849 Date: 20240424 Time: 012234     sap01-206 ( 27 ms )