Return response as JSON object
Returns the response body as a collection from JSON
Function ReturnResponseAsJSONObject(Val ToMap = True, Val ExceptionOnError = False) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
ToMap | - | Boolean | ✖ | Use map instead of structure |
ExceptionOnError | - | Boolean | ✖ | Causes an exception with a log if there were errors during processing |
Returns: Arbitrary - The response or the same processing object
caution
NOCLI: this method is not available in CLI version