SAP ABAP ASJSON SCHEMA



Get Example source ABAP code based on a different SAP table
  



ABAP_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, apart from 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.



Latest notes:

By specifying format in the attribute option of the ST statement tt:value, formats of this type can also be applied to ABAP data objects that are not typed with a domain of this type. In JSON, furthermore, the option attribute also makes it possible to convert ABAP data fields and time stamps to UNIX time stamps (ticks) in the JSON format for OData.
NON_V5_HINTS
ABAP_HINT_END

ABAP_EXAMPLE_ABEXA
asJSON for Additional XML Schema Data Types
ABAP_EXAMPLE_END