respAddJsonValue()

This procedure adds JSON value for existing field.

ParameterTypeDescription
ptrPOINTERMandatoryPointer to field
json_ptrPOINTERMandatoryPointer to JSON String in UCS2
json_len10U 0MandatoryLength in bytes of JSON String

The procedure returns pointer of field. If procedure can’t add value, then returns null.

Examples:

xxPtr = respAddField('data': 'jsonData');
respAddJsonValue(xxPtr: %ADDR(xxJsonData): %LEN(xxJsonData)*2 );