SAP NEWS-740-JSON

Get Example source ABAP code based on a different SAP table
  



JSON Interface in Release 7.40

From Release 7.40, ABAP supports the handling of JSON data and the transformation of ABAP data to JSON and back. For more information, see ABAP and JSON.

1 JSON-XML 2 asJSON 3 JSON and CALL TRANSFORMATION 3 JSON and escape

ABAP_MODIFICATION_1 JSON-XML


JSON-XML is a special XML format that enables JSON data to be described using an XML representation. A new format, IF_SXML=>CO_XT_JSON, has been added to sXML Library, which enables JSON data to be edited using JSON-XML.

ABAP_MODIFICATION_2 asJSON


The canonical JSON representation asJSON defines a mapping between ABAP types and JSON. This is used in serializations and deserializations using the identity transformation ID.

ABAP_MODIFICATION_3 JSON and CALL TRANSFORMATION


JSON data can be specified in various forms as an XML source in the statement CALL TRANSFORMATION and a JSON writer can be specified s target. The identity transformation ID supports JSON by using asJSON. For more information, see Transformations for JSON.

ABAP_MODIFICATION_3 JSON and escape


The escape symbol function escape supports the new format E_JSON_STRING for replacing special characters in JSON.