SAP /SCMB/CL_GIS_JSON_UTIL OO Class - JSON converter
/SCMB/CL_GIS_JSON_UTIL is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /SCMB/CL_GIS_JSON_UTIL including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of /SCMB/CL_GIS_JSON_UTIL SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
| CALL METHOD /scmb/cl_gis_json_util=>CLASS_CONSTRUCTOR...more details | ||
| CONSTRUCTOR | CONSTRUCTOR | Public |
| CALL METHOD /scmb/cl_gis_json_util=>CONSTRUCTOR...more details | ||
| DESERIALIZE | De-Serializes object | Public |
| CALL METHOD /scmb/cl_gis_json_util=>DESERIALIZE...more details | ||
| DESERIALIZE_INT | Deserializes ABAP object from JSON | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>DESERIALIZE_INT...more details | ||
| DUMP | Recursive conversion | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>DUMP...more details | ||
| DUMP_SYMBOLS | Dump to JSON symbol table | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>DUMP_SYMBOLS...more details | ||
|
| ||
| DUMP_TYPE | Dumps elementary type to string | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>DUMP_TYPE...more details | ||
| EDM_DATETIME_TO_TS | Protected | |
| CALL METHOD /scmb/cl_gis_json_util=>EDM_DATETIME_TO_TS...more details | ||
| ESCAPE | Escapes JSON String | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>ESCAPE...more details | ||
| GENERATE_INT | Generates ABAP object from JSON | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>GENERATE_INT...more details | ||
| GENERATE_INT_EX | Generates ABAP object from JSON | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>GENERATE_INT_EX...more details | ||
| GET_FIELDS | Prepares structure fields cache | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>GET_FIELDS...more details | ||
| GET_SYMBOLS | Alternative impl. of CL_ABAP_STRUCTDESCR=>GET_SYMBOLS_TAB | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>GET_SYMBOLS...more details | ||
| IS_COMPRESSABLE | Check if initial field shall be compressed | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>IS_COMPRESSABLE...more details | ||
| PRETTY_NAME | PrettyPrint names | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>PRETTY_NAME...more details | ||
| PRETTY_NAME_EX | PrettyPrint names in extended form | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>PRETTY_NAME_EX...more details | ||
| RESTORE | Deserialize JSON to ABAP | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>RESTORE...more details | ||
| RESTORE_TYPE | Deserialize JSON to ABAP | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>RESTORE_TYPE...more details | ||
| SERIALIZE | Serializes object | Public |
| CALL METHOD /scmb/cl_gis_json_util=>SERIALIZE...more details | ||
| SERIALIZE_INT | Serializes ABAP object to JSON | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>SERIALIZE_INT...more details | ||
| STRING_TO_XSTRING | Converts XSTRING data to STRING | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>STRING_TO_XSTRING...more details | ||
| XSTRING_TO_STRING | Converts XSTRING data to STRING | Protected |
| CALL METHOD /scmb/cl_gis_json_util=>XSTRING_TO_STRING...more details | ||
/SCMB/CL_GIS_JSON_UTIL attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| C_BOOL | Constant | LIKE | Public | ||
| C_TRIBOOL | Constant | LIKE | Public | ||
| MC_BOOL_3STATE | Static Attribute | ` TYPE=BOOLEAN` | LIKE STRING | Public | |
| MC_BOOL_TYPES | Static Attribute | ` TYPE-POOL=ABAP TYPE=ABAP_BOOL TYPE=BOOLEAN TYPE=BOOLE_D TYPE=XFELD` | LIKE STRING | Public | |
| MC_JSON_TYPE | Static Attribute | Absolute name of JSON string type | LIKE STRING | Public | |
| MC_KEY_SEPARATOR | Constant | Separator inserted between parts of compound keys | `-` | LIKE STRING | Public |
| MC_ME_TYPE | Static Attribute | The class name | LIKE STRING | Private | |
| MV_ASSOC_ARRAYS | Instance Attribute | Serialize tables with unique keys as associative array | LIKE BOOL | Protected | |
| MV_ASSOC_ARRAYS_OPT | Instance Attribute | Optimize rendering of name value maps | LIKE BOOL | Protected | |
| MV_EXTENDED | Instance Attribute | The class is used as based class | LIKE BOOL | Private | |
| MV_PRETTY_NAME | Instance Attribute | LIKE PRETTY_NAME_MODE | Protected | ||
| PRETTY_MODE | Constant | LIKE | Public | ||
| SV_WHITE_SPACE | Static Attribute | White space characters | LIKE STRING | Public |
/SCMB/CL_GIS_JSON_UTIL types
BOOL - 2 state boolean type ('X' - true, '' - false), as abap_boolJSON - JSON string
NAME_MAPPING - ABAP<->JSON Name Mapping
NAME_MAPPINGS - ABAP<->JSON Name Mapping Table
NAME_MAPPINGS_EX -
PRETTY_NAME_MODE - Name conversion mode
TRIBOOL - 3 state boolean type ('X'-true, '-'-false, ''-undefined)
T_S_FIELD_CACHE -
T_S_SYMBOL - Helper type for structure fields iteration
T_T_FIELD_CACHE -
T_T_SYMBOL - Standard table of T_S_SYMBOL
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects