SAP ABAP Class /UI2/CL_JSON_SERIALIZER (/UI2/CL_JSON_SERIALIZER)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI2-INT-BE (Application Component) Backend Enablement
⤷
/UI2/BASIS_SERVICES_START_UP (Package) UI BE: Start-Up of Frontend Shell

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | /UI2/IF_SERIALIZE | Serializing Data | 20121204 |
Properties
Class | /UI2/CL_JSON_SERIALIZER | |
Short Description | ||
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /UI2/BASIS_SERVICES_START_UP | UI BE: Start-Up of Frontend Shell |
Created | 20121204 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | /UI2/IF_SERIALIZE | Serializing Data | 20121204 |
Friends
Class /UI2/CL_JSON_SERIALIZER has no friend class.
Attributes
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Protected | Method | 20121204 | |
2 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20121204 |
3 | ![]() |
Instance method | Public | Constructor | 20121205 | |
4 | ![]() |
Static method | Public | Method | 20121204 | |
5 | ![]() |
Instance method | Protected | Method | 20121204 | |
6 | ![]() |
Instance method | Private | Method | 20130122 | |
7 | ![]() |
Instance method | Private | Method | 20130123 | |
8 | ![]() |
Instance method | Public | Method | 20130124 | |
9 | ![]() |
Instance method | Protected | Method | 20121204 | |
10 | ![]() |
Instance method | Protected | Method | 20121204 | |
11 | ![]() |
Instance method | Protected | Method | 20121204 | |
12 | ![]() |
Instance method | Protected | Method | 20121204 |
Events
Class /UI2/CL_JSON_SERIALIZER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TT_FIELD | Protected | See coding | 20121204 | TT_FIELD TYPE STANDARD TABLE OF ty_field WITH KEY name
|
||
2 | TY_FIELD | Protected | See coding | 20121204 | BEGIN OF ty_field,
name TYPE string,
descr TYPE REF TO cl_abap_datadescr,
numeric TYPE abap_bool,
boolean TYPE abap_bool,
language TYPE abap_bool,
END OF ty_field
|
Method Signatures
Method ADD_FIELDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_FIELDS | Call by reference | Type reference (TYPE) | TT_FIELD | 20121204 | |||
2 | ![]() |
IO_STRUCTDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20121204 |
Method ADD_FIELDS on class /UI2/CL_JSON_SERIALIZER has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /UI2/CL_JSON_SERIALIZER has no parameter.
Method CLASS_CONSTRUCTOR on class /UI2/CL_JSON_SERIALIZER has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CASE_TYPE | Call by reference | Type reference (TYPE) | I | 20121205 |
Method CONSTRUCTOR on class /UI2/CL_JSON_SERIALIZER has no exception.
Method ESCAPE_JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_UNESCAPED | Call by reference | Type reference (TYPE) | STRING | Unescaped JSON string | 20121204 | ||
2 | ![]() |
RV_ESCAPED | Value transfer | Type reference (TYPE) | STRING | Escaped JSON string | 20121204 |
Method ESCAPE_JSON on class /UI2/CL_JSON_SERIALIZER has no exception.
Method GET_VALUES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20121204 | |||
2 | ![]() |
IT_FIELDS | Call by reference | Type reference (TYPE) | TT_FIELD | 20121204 | |||
3 | ![]() |
IV_TOP_LEVEL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121204 | |||
4 | ![]() |
RT_VALUES | Value transfer | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20121204 |
Method GET_VALUES on class /UI2/CL_JSON_SERIALIZER has no exception.
Method GET_VALUE_BOOLEAN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 30 Characters | 20130123 | ||
2 | ![]() |
IV_VALUE | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20130123 | ||
3 | ![]() |
RV_RESULT | Value transfer | Type reference (TYPE) | STRING | 20130123 |
Method GET_VALUE_BOOLEAN on class /UI2/CL_JSON_SERIALIZER has no exception.
Method GET_VALUE_NUMERIC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 30 Characters | 20130123 | ||
2 | ![]() |
IV_NUMERIC_VALUE | Call by reference | Type reference (TYPE) | STRING | Boolean Variable (X=True, -=False, Space=Unknown) | 20130123 | ||
3 | ![]() |
RV_RESULT | Value transfer | Type reference (TYPE) | STRING | 20130123 |
Method GET_VALUE_NUMERIC on class /UI2/CL_JSON_SERIALIZER has no exception.
Method GET_VALUE_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 30 Characters | 20130124 | ||
2 | ![]() |
IV_VALUE | Call by reference | Type reference (TYPE) | STRING | Boolean Variable (X=True, -=False, Space=Unknown) | 20130124 | ||
3 | ![]() |
RV_RESULT | Value transfer | Type reference (TYPE) | STRING | 20130124 |
Method GET_VALUE_STRING on class /UI2/CL_JSON_SERIALIZER has no exception.
Method SERIALIZE_ARRAY_TO_OBJ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ARRAY | Call by reference | Type reference (TYPE) | STRING | 20121204 | |||
2 | ![]() |
RV_OBJECT | Value transfer | Type reference (TYPE) | STRING | 20121204 |
Method SERIALIZE_ARRAY_TO_OBJ on class /UI2/CL_JSON_SERIALIZER has no exception.
Method SERIALIZE_STRUC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_STRUCTDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20121204 | ||
2 | ![]() |
IR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20121204 | |||
3 | ![]() |
IV_TOP_LEVEL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121204 | |||
4 | ![]() |
IV_UPPER_CASE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121204 | |||
5 | ![]() |
RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20121204 |
Method SERIALIZE_STRUC on class /UI2/CL_JSON_SERIALIZER has no exception.
Method SERIALIZE_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_TABLEDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Runtime Type Services | 20121204 | ||
2 | ![]() |
IR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20121204 | |||
3 | ![]() |
IV_TOP_LEVEL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20121204 | ||
4 | ![]() |
RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20121204 |
Method SERIALIZE_TABLE on class /UI2/CL_JSON_SERIALIZER has no exception.
Method SERIALIZE_TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20121204 | |||
2 | ![]() |
RV_STRING | Value transfer | Type reference (TYPE) | STRING | 20121204 |
Method SERIALIZE_TO_STRING on class /UI2/CL_JSON_SERIALIZER has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 100 |