SAP ABAP Class CL_VBI_JSON_UTIL (CL_VBI_JSON_UTIL)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   CA-UI2-VBZ (Application Component) Visual Business -> please use CA-GTF-VBZ
     VBI_CORE_IMPL (Package) Visual Business Core Object Implementations
Properties
Class CL_VBI_JSON_UTIL  
Short Description    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package VBI_CORE_IMPL   Visual Business Core Object Implementations 
Created 20131202   SAP 
Last change 20141120    
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)
Interfaces
Class CL_VBI_JSON_UTIL has no interface implemented.
Friends
Class CL_VBI_JSON_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 JSON Instance attribute Private Type reference (TYPE) STRING 20131202
2 NODE_TAG_OPEN Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20131202
3 OPEN_ARRAYS Instance attribute Private Type reference (TYPE) GTY_STRING_TAB 20131202
4 OPEN_NODES Instance attribute Private Type reference (TYPE) GTY_STRING_TAB 20131202
5 XML Instance attribute Private Type reference (TYPE) STRING 20131202
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20131202
2 GET_INSTANCE Static method Public Method Returns an Converter Instance for JSON -> XML conversion 20131202
3 GET_JSON_FROM_XML Static method Public Method Return JSON representation for given XML 20131202
4 GET_XML Instance method Public Method Returns XML 20131202
5 PARSE_ATTRIBUTE Instance method Private Method 20131202
6 PARSE_LINE Instance method Private Method 20131202
7 PARSE_NODE Instance method Private Method 20131202
Events
Class CL_VBI_JSON_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_NODE_TAB Private See coding 20140328 begin of GTY_NODE_TAB, NODE type STRING, IS_ARRAY type ABAP_BOOL, end of GTY_NODE_TAB
2 GTY_STRING_TAB Private See coding 20131202 GTY_STRING_TAB type table of STRING
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_JSON Call by reference Type reference (TYPE) STRING 20131202

Method CONSTRUCTOR on class CL_VBI_JSON_UTIL has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_JSON Call by reference Type reference (TYPE) STRING 20131202
2 Returning RV_RESULT Value transfer Object reference (TYPE REF TO) CL_VBI_JSON_UTIL 20131202

Method GET_INSTANCE on class CL_VBI_JSON_UTIL has no exception.

Method GET_JSON_FROM_XML Signature

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

Method GET_JSON_FROM_XML on class CL_VBI_JSON_UTIL has no exception.

Method GET_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RESULT Value transfer Type reference (TYPE) STRING 20131202

Method GET_XML on class CL_VBI_JSON_UTIL has no exception.

Method PARSE_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ATTR Call by reference Type reference (TYPE) STRING 20131202

Method PARSE_ATTRIBUTE on class CL_VBI_JSON_UTIL has no exception.

Method PARSE_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LINE Call by reference Type reference (TYPE) STRING 20131202

Method PARSE_LINE on class CL_VBI_JSON_UTIL has no exception.

Method PARSE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NODE Call by reference Type reference (TYPE) STRING 20131202

Method PARSE_NODE on class CL_VBI_JSON_UTIL has no exception.
History
Last changed by/on SAP  20141120 
SAP Release Created in 100