getResponseJSON
Returns the HTTP response parsed with JSON rules.
Format 1
void getResponseJSON( json ) |
Format 2
void getResponseJSON( json, encoding ) |
Format 3
void getResponseJSON( json, encoding, hasDummyRoot ) |
Syntax rules
2. encoding is a string literal or data item that specifies the character set to be used while parsing the JSON stream. It accepts the same values as the
iscobol.encoding * configuration property.
3. hasDummyRoot is an alphanumeric data item or literal hosting a boolean value (e.g. "0", "1", "true", "false", "yes", "no", "on" or "off"). If the boolean value is TRUE, then the top level item of Record-Definition is ignored and will not be retrieved from the JSON stream. This parameter can be NULL, in such case, FALSE is assumed.
General rules