SAP ABAP Class /UI2/CL_ABAP2JSON (/UI2/CL_ABAP2JSON)
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
Properties
Class /UI2/CL_ABAP2JSON  
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 20120920   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /UI2/IF_SERIALIZE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /UI2/CL_ABAP2JSON has no interface implemented.
Friends
Class /UI2/CL_ABAP2JSON has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 M_JSON_SERIALIZER Instance attribute Private Object reference (TYPE REF TO) /UI2/IF_SERIALIZE Serializing Data 20121205
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20121205
2 CONVERT_TO_CAMEL_CASE Static method Public Method 20121204
3 CONV_XSTRING_TO_STRING Static method Public Method Convert XSTRING to STRING 20120920
4 ROW2JSON Instance method Private Method 20120920
5 SERIALIZE2JSON_STR Instance method Public Method Uses spezialized JSON serializer (for CR Viewer integration) 20120920
6 STRUC2JSON Instance method Public Method 20121022
7 TABLE2JSON Instance method Public Method 20120920
8 TABLES2JSON Instance method Public Method 20120920
Events
Class /UI2/CL_ABAP2JSON has no event.
Types
Class /UI2/CL_ABAP2JSON has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CASE_TYPE Call by reference Type reference (TYPE) I /UI2/IF_SERIALIZE=>C_CASE_TYPE-CAMEL_CASE 20121205

Method CONSTRUCTOR on class /UI2/CL_ABAP2JSON has no exception.

Method CONVERT_TO_CAMEL_CASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ABAP_FIELD_NAME Call by reference Type reference (TYPE) STRING 20121204
2 Returning R_CAMEL_CASED Value transfer Type reference (TYPE) STRING 20121204

Method CONVERT_TO_CAMEL_CASE on class /UI2/CL_ABAP2JSON has no exception.

Method CONV_XSTRING_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_XSTRING Call by reference Type reference (TYPE) XSTRING 20120920
2 Returning RV_STRING Value transfer Type reference (TYPE) STRING 20120920

Method CONV_XSTRING_TO_STRING on class /UI2/CL_ABAP2JSON has no exception.

Method ROW2JSON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CV_JSON Value transfer Type reference (TYPE) STRING 20120920
2 Importing IT_FIELD_CAT Call by reference Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20120920
3 Importing IV_S_ROW Call by reference Type reference (TYPE) ANY 20120920

Method ROW2JSON on class /UI2/CL_ABAP2JSON has no exception.

Method SERIALIZE2JSON_STR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CV_JSON Value transfer Type reference (TYPE) STRING 20120920
2 Importing IT_CUSTOM_FIELDS Call by reference Type reference (TYPE) STANDARD TABLE 20120920
3 Importing IT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20120920
4 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING 20120920
5 Importing NAME Call by reference Type reference (TYPE) STRING 20120920

Method SERIALIZE2JSON_STR on class /UI2/CL_ABAP2JSON has no exception.

Method STRUC2JSON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STRUC Call by reference Type reference (TYPE) ANY 20121022
2 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING 20121022
3 Importing NAME Call by reference Type reference (TYPE) STRING 20121022
4 Returning RV_JSON Value transfer Type reference (TYPE) STRING 20121022

Method STRUC2JSON on class /UI2/CL_ABAP2JSON has no exception.

Method TABLE2JSON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CUSTOM_FIELDS Call by reference Type reference (TYPE) STANDARD TABLE 20120920
2 Importing IT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20120920
3 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING 20120920
4 Importing NAME Call by reference Type reference (TYPE) STRING 20120920
5 Returning RV_JSON Value transfer Type reference (TYPE) STRING 20120920

Method TABLE2JSON on class /UI2/CL_ABAP2JSON has no exception.

Method TABLES2JSON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TABLES Call by reference Type reference (TYPE) /UI2/T_TABLE_DESC Description of tabels 20120920
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20120920
3 Returning RV_JSON Value transfer Type reference (TYPE) STRING 20120920

Method TABLES2JSON on class /UI2/CL_ABAP2JSON has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 100