SAP ABAP JSON



Get Example source ABAP code based on a different SAP table
  


VERSION 5 IN

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.
BEGIN_SECTION VERSION 5 OUT
For examples, see the corresponding executable programs in the example library.
END_SECTION VERSION 5 OUT