Ansicht
Dokumentation
ABENABAP_ASJSON_ABAP_TYPES_ELEM - ABAP ASJSON ABAP TYPES ELEM
BAL Application Log Documentation ABAP Short ReferenceThis documentation is copyright by SAP AG.
- Mapping of Elementary ABAP Types
The values of elementary ABAP types are represented in asJSON using the JSON representations of character-like values and numeric values. Representations of Boolean values and zero are not used.
- The values of all numeric types (i, p, decfloat16, decfloat34, f) are represented directly as JSON number values.
- The values of all other types (c, string, n, d, t, x, xstring) are represented as character-like values in quotation marks.
The type-dependent format of a value corresponds to the asXML representation of elementary types and can be taken from the tables there. The serialization and deserialization behavior listed there applies.
Note
An elementary ABAP data object that does not have an associated JSON object component in deserializations retains its previous value. To initialize the data object in this case, the transformation option clear with the value "all" can be used.
asJSON for Elementary ABAP Types
CL_GUI_FRONTEND_SERVICES - Frontend Services General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 1576 Date: 20240329 Time: 034016 sap01-206 ( 30 ms )