native

ezhttp_parse_json_response

Syntax

native EzJSON:ezhttp_parse_json_response(EzHttpRequest:request_id, bool:with_comments = false);

Description

Parses http response body to JSON.

Parameters

request_id request_id
with_comments True if parsing JSON includes comments (it will ignore them), false otherwise

Note

Needs to be freed using ezjson_free() native.

Return

EzJSON handle, EzInvalid_JSON if error occurred