ABAP Keyword Documentation →  ABAP − Reference →  Data Interfaces and Communication Interfaces →  ABAP and JSON →  Transformations for JSON →  asJSON - Canonical JSON Representation → 

asJSON - Mapping Additional XML Schema Data Types

In asXML, apart from the XML schema data types needed to map elementary ABAP types, additional XML schema data types are supported by special domains called XSD....

asJSON, which is based on asXML, also supports these domains (with the exception of XSDQNAME). In serializations and deserializations from or to ABAP data objects typed with these domains, the same applies as to asXML. Here, values from the domain XSDBOOLEAN are represented as real Boolean JSON values in asJSON.

Example

See asJSON for Additional XML Schema Data Types