SAP ABAP Class CL_FDT_JSON (Optimized Json Transformation for BRFplus)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
SFDT_CORE (Package) BRFplus: Core

⤷

⤷

Properties
Class | CL_FDT_JSON | |
Short Description | Optimized Json Transformation for BRFplus | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SFDT_CORE | BRFplus: Core |
Created | 20130320 | SAP |
Last change | 20140121 | 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) |
2 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
4 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_FDT_JSON has no interface implemented.
Friends
Class CL_FDT_JSON has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'TYPE-POOL=ABAPTYPE=ABAP_BOOL' | 20130924 | ||
2 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_AMOUNT' | 20130924 | ||
3 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_BOOLEAN' | 20130924 | ||
4 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_NUMBER' | 20130924 | ||
5 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_QUANTITY' | 20130924 | ||
6 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_TEXT' | 20130924 | ||
7 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'INTERFACE=IF_FDT_TYPESTYPE=ELEMENT_TIMEPOINT' | 20130924 | ||
8 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'TYPE=FDT_S_AMOUNT' | 20130924 | ||
9 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'TYPE=FDT_BOOLEAN' | 20130924 | ||
10 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'TYPE=FDT_NUMBER_DECFLOAT' | 20130924 | ||
11 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'TYPE=FDT_S_QUANTITY' | 20130924 | ||
12 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_ABSTYPENAME | 'TYPE=FDT_S_TIMEPOINT' | 20130924 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | Handle special BRF constructions | 20130924 |
2 | ![]() |
Static method | Private | Method | Do neccessary conversions on token | 20130924 |
3 | ![]() |
Static method | Public | Method | Transforms a data object to a Json string | 20130320 |
4 | ![]() |
Static method | Private | Method | Convert ABAP data into JSON format (internal process) | 20130924 |
5 | ![]() |
Static method | Private | Method | Retrieve key from JSON | 20130924 |
6 | ![]() |
Static method | Private | Method | Handle special BRF constructions | 20130924 |
7 | ![]() |
Static method | Public | Method | Transforms a Json string to a data object | 20130320 |
8 | ![]() |
Static method | Private | Method | Convert JSON format into ABAP data (internal process) | 20130924 |
Events
Class CL_FDT_JSON has no event.
Types
Class CL_FDT_JSON has no local type.
Method Signatures
Method BRF_STRUC_TO_JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IA_DATA | Call by reference | Type reference (TYPE) | ANY | 20130924 | |||
2 | ![]() |
IV_TYPE | Call by reference | Type reference (TYPE) | ABAP_ABSTYPENAME | 20130924 | |||
3 | ![]() |
RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20130924 |
Method BRF_STRUC_TO_JSON on class CL_FDT_JSON has no exception.
Method CONVERT_TOKEN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CV_TOKEN | Call by reference | Type reference (TYPE) | ANY | 20130924 | |||
2 | ![]() |
IA_DATA | Call by reference | Type reference (TYPE) | ANY | 20130924 |
Method CONVERT_TOKEN on class CL_FDT_JSON has no exception.
Method DATA_TO_JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IA_DATA | Call by reference | Type reference (TYPE) | ANY | 20130410 | |||
2 | ![]() |
RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20130320 |
Method DATA_TO_JSON on class CL_FDT_JSON has no exception.
Method DATA_TO_JSON_INTERNAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IA_DATA | Call by reference | Type reference (TYPE) | ANY | 20130924 | |||
2 | ![]() |
RV_JSON | Value transfer | Type reference (TYPE) | STRING | 20130924 |
Method DATA_TO_JSON_INTERNAL on class CL_FDT_JSON has no exception.
Method GET_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CV_JSON | Call by reference | Type reference (TYPE) | STRING | 20130924 | |||
2 | ![]() |
EV_STRING | Call by reference | Type reference (TYPE) | STRING | 20130924 |
Method GET_STRING on class CL_FDT_JSON has no exception.
Method JSON_TO_BRF_STRUC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CA_DATA | Call by reference | Type reference (TYPE) | ANY | 20130924 | |||
2 | ![]() |
CV_JSON | Call by reference | Type reference (TYPE) | STRING | 20130924 |
Method JSON_TO_BRF_STRUC on class CL_FDT_JSON has no exception.
Method JSON_TO_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CA_DATA | Call by reference | Type reference (TYPE) | ANY | 20130410 | |||
2 | ![]() |
IV_JSON | Call by reference | Type reference (TYPE) | STRING | 20130410 |
Method JSON_TO_DATA on class CL_FDT_JSON has no exception.
Method JSON_TO_DATA_INTERNAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CA_DATA | Call by reference | Type reference (TYPE) | ANY | 20130924 | |||
2 | ![]() |
CV_JSON | Call by reference | Type reference (TYPE) | STRING | 20130924 | |||
3 | ![]() |
EV_IS_FILLED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130924 | |||
4 | ![]() |
IV_IS_TABLINE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130924 |
Method JSON_TO_DATA_INTERNAL on class CL_FDT_JSON has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |