Get Example source ABAP code based on a different SAP table
ARTICLE
JSON, asJSON for Elementary ABAP Types This example demonstrates asJSON for all elementary ABAP types.
ABAP_SOURCE_CODE ABAP_EXEC
ABAP_DESCRIPTION The identity transformation ID (for which a JSON writer is specified as the XML target) is called to create and display the asJSONformat of all elementary ABAP types. As a comparison, the JSON-XML representation of the JSON data and the asXML representation of the ABAP data is also shown.