This procedure adds JSON value for existing field.
Parameter | Type | Description | |
---|---|---|---|
ptr | POINTER | Mandatory | Pointer to field |
json_ptr | POINTER | Mandatory | Pointer to JSON String in UCS2 |
json_len | 10U 0 | Mandatory | Length 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 );