...
The following functions for JSON Encoding described here are:
Table of Contents | ||
---|---|---|
|
jsonEncodeList
This function encodes a list to a JSON formatted string.
Code Block |
---|
string jsonEncodeList ( list<any>list) |
Parameter | Description |
---|---|
| The list to encode |
Returns | A JSON formatted string |
jsonEncodeMap
This function encodes a map to a JSON formatted string.
Code Block |
---|
string jsonEncodeMap ( map<string,any> map) |
Parameter | Description |
---|---|
| The map to encode |
Returns | A JSON-formatted string |
jsonEncodeUdr
This function encodes a UDR to a JSON formatted string.
Code Block |
---|
string jsonEncodeUdr ( DRUDR udr) |
Parameter | Description |
---|---|
| The UDR to encode. |
Returns | A JSON-formatted string. |
jsonEncodeNonNullUdr
This function encodes a UDR to a JSON formatted string and omitting any fields that contain a null value.
Code Block |
---|
string jsonEncodeNonNullUdr ( DRUDR udr) |
Parameter | Description |
---|---|
| The UDR to encode. |
Returns | A JSON-formatted string. |