JSON Encoding Functions(4.3)

The functions described in this section are used to to encode lists, maps, or UDRs to JSON formatted strings.

jsonEncodeUdr

This function encodes a UDR to a JSON formatted string.

string jsonEncodeUdr ( DRUDR udr)
ParameterDescription

udr

The UDR to encode.

Returns

A JSON formatted string.

jsonFormat

This function encodes an any to a JSON formatted string.

string jsonFormat(any obj)
ParameterDescription

obj

The object 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.

string jsonEncodeNonNullUdr ( DRUDR udr)
ParameterDescription

udr

The UDR to encode.

Returns

A JSON formatted string.