SAP ABAP Class CL_FDT_JSON_DEPRECATED (OBSOLETE -Json Transformation ( DO NOT USE ))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_DEPRECATED (Package) BRFplus: Deprecated Objects
Properties
Class CL_FDT_JSON_DEPRECATED  
Short Description OBSOLETE -Json Transformation ( DO NOT USE )    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_DEPRECATED   BRFplus: Deprecated Objects 
Created 20130903   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_FDT_JSON Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_FDT_JSON_DEPRECATED has no interface implemented.
Friends
Class CL_FDT_JSON_DEPRECATED has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ELEMENT_AMOUNT Static Attribute Private Type reference (TYPE) ABAP_ABSTYPENAME 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_AMOUNT' 20130924
2 GC_ELEMENT_BOOLEAN Static Attribute Private Type reference (TYPE) ABAP_ABSTYPENAME 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_BOOLEAN' 20130924
3 GC_ELEMENT_NUMBER Static Attribute Private Type reference (TYPE) ABAP_ABSTYPENAME 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_NUMBER' 20130924
4 GC_ELEMENT_QUANTITY Static Attribute Private Type reference (TYPE) ABAP_ABSTYPENAME 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_QUANTITY' 20130924
5 GC_ELEMENT_TEXT Static Attribute Private Type reference (TYPE) ABAP_ABSTYPENAME 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_TEXT' 20130924
6 GC_ELEMENT_TIMEPOINT Static Attribute Private Type reference (TYPE) ABAP_ABSTYPENAME 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_TIMEPOINT' 20130924
Methods
# Method Level Visibility Method type Description Created on
1 CONTEXT_TO_JSON Static method Public Method Serializes the context to Json 20130924
2 CONVERT_TO_COMPLEX_VALUE Static method Private Method 20130924
3 CONVERT_VALUE Static method Private Method 20130924
4 DATA_TO_JSON Static method Public Method Transforms a data object to a Json string 20130924
5 GET_COMPLEX_ELEMENT_TYPE Static method Private Method Returns the element type of a complex value 20130924
6 GET_COMPLEX_VALUE Static method Private Method Returns a complex value 20130924
7 GET_CONTEXT_STRUCTURE Static method Private Method Parses Json and set context 20130924
8 JSON_TO_CONTEXT Static method Public Method Parses Json and set context 20130924
9 JSON_TO_DATA Static method Public Method Transforms a Json string to a data object 20130924
10 JSON_TO_DATA_INTERN Static method Private Method 20130924
Events
Class CL_FDT_JSON_DEPRECATED has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_TOKEN Private See coding 20130924 BEGIN OF s_token, value TYPE string, "value as string is_complex_value TYPE boole_d, "true if amount/quantity/timepoint value_amount TYPE if_fdt_types=>element_amount, value_quantity TYPE if_fdt_types=>element_quantity, value_timepoint TYPE if_fdt_types=>element_timepoint, value_type TYPE if_fdt_types=>element_type, END OF s_token
2 T_CONTEXT_VALUE Private See coding 20130924 t_context_value TYPE STANDARD TABLE OF REF TO data
Method Signatures

Method CONTEXT_TO_JSON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20130924
2 Returning RV_JSON Value transfer Type reference (TYPE) STRING 20130924

Method CONTEXT_TO_JSON on class CL_FDT_JSON_DEPRECATED has no exception.

Method CONVERT_TO_COMPLEX_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CA_INTERNAL_VALUE Call by reference Type reference (TYPE) ANY 20130924
2 Importing IS_TOKEN Call by reference Type reference (TYPE) S_TOKEN 20130924
3 Importing IV_FORCE_COMPATIBILITY Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130924
4 Importing IV_TYPE_NAME Call by reference Type reference (TYPE) ABAP_ABSTYPENAME 20130924

Method CONVERT_TO_COMPLEX_VALUE on class CL_FDT_JSON_DEPRECATED has no exception.

Method CONVERT_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CA_INTERNAL_VALUE Call by reference Type reference (TYPE) ANY 20130924
2 Importing IS_TOKEN Call by reference Type reference (TYPE) S_TOKEN 20130924

Method CONVERT_VALUE on class CL_FDT_JSON_DEPRECATED has no exception.

Method DATA_TO_JSON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IA_DATA Call by reference Type reference (TYPE) ANY 20130924
2 Returning RV_JSON Value transfer Type reference (TYPE) STRING 20130924

Method DATA_TO_JSON on class CL_FDT_JSON_DEPRECATED has no exception.

Method GET_COMPLEX_ELEMENT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_TOKEN Call by reference Type reference (TYPE) S_TOKEN Token 20130924
2 Changing CV_OFFSET Call by reference Type reference (TYPE) I 20130924
# Exception Resumable Description Created on
1 CX_FDT_JSON FDT: Errors related to JSON transformation 20130924

Method GET_COMPLEX_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_TOKEN Call by reference Type reference (TYPE) S_TOKEN 20130924
2 Changing CV_OFFSET Call by reference Type reference (TYPE) I Offset 20130924
# Exception Resumable Description Created on
1 CX_FDT_JSON FDT: Errors related to JSON transformation 20130924

Method GET_CONTEXT_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_STRUCTDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20130924
2 Exporting ER_STRUCTURE Call by reference Object reference (TYPE REF TO) DATA Structure of Context 20130924
3 Exporting ET_COMPDESCR Call by reference Type reference (TYPE) CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE Component Description Table 20130924
4 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20130924
# Exception Resumable Description Created on
1 CX_FDT_JSON 20130924

Method JSON_TO_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20130924
2 Importing IV_JSON Call by reference Type reference (TYPE) STRING Json 20130924

Method JSON_TO_CONTEXT on class CL_FDT_JSON_DEPRECATED has no exception.

Method JSON_TO_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CA_DATA Call by reference Type reference (TYPE) ANY 20130924
2 Importing IV_JSON Call by reference Type reference (TYPE) STRING 20130924
# Exception Resumable Description Created on
1 CX_FDT_JSON FDT: Errors related to JSON transformation 20130924

Method JSON_TO_DATA_INTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CA_DATA Call by reference Type reference (TYPE) ANY 20130924
2 Importing IS_TOKEN Call by reference Type reference (TYPE) S_TOKEN 20130924
3 Importing IV_VALUE_IS_STRING Call by reference Type reference (TYPE) BOOLE_D True: Value is a string, embedded in ""..only used in interf 20130924
# Exception Resumable Description Created on
1 CX_FDT_JSON FDT: Errors related to JSON transformation 20130924
History
Last changed by/on SAP  20140121 
SAP Release Created in 740