This procedure adds Null field into response.
Parameter | Type | Description | |
---|---|---|---|
element | 30A VARYING, VARSIZE | Mandatory | Name of element |
fieldName | 30A VARYING, VARSIZE | Mandatory | Field name |
The procedure returns pointer of field. If procedure can’t add field, then returns null.
NOTE: User do not need to provide any value. Procedure automatically adds null to JSON.`
Examples:
respAddNullField('data': 'freeOfCharge');