Ansicht
Dokumentation
ABENABAP_JSON - ABAP JSON
Fill RESBD Structure from EBP Component Structure CPI1466 during BackupThis documentation is copyright by SAP AG.
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.
- Direct transformations can be performed between ABAP and JSON. Here, a canonical JSON representation of ABAP data called asJSON can be used for the identity transformation ID.
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 )