Skip to content

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.

Other versions: 7.31 | 7.40 | 7.54


Note

The return value of the Boolean function xsdbool has the type XSDBOOLEAN.