Skip to main content

Return response as JSON object

Returns the response body as a collection from JSON

Function ReturnResponseAsJSONObject(Val ToMap = True, Val ExceptionOnError = False) Export

ParameterCLI optionTypeRequiredDescription
ToMap-BooleanUse map instead of structure
ExceptionOnError-BooleanCauses 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