ABAP - Keyword Documentation →  ABAP - Reference →  Data Interfaces and Communication Interfaces →  ABAP and JSON →  Transformations for JSON → 

asJSON - Canonical JSON Representation

The canonical XML representation asXML is the format of JSON data that is produced by a serialization of ABAP data using the identity transformation ID, or that is required for a deserialization using the identity transformation.

asJSON is based closely on asXML. From a conceptional perspective, a asJSON representation is produced by a restructuring of the asXML representation of this ABAP data to a JSON-XML representation, while keeping all value content. This means the same basic rules apply as for asXML. In particular, XML schema data types for the mapping of ABAP data types are also used in asJSON.

Description of the asJSON format:


asJSON - General Format
asJSON - Mapping of ABAP Data Types
asJSON - Mapping Additional XML Schema Data Types