Open In-line opened 5 years ago
Why check for Invalid_JSON? Other parts of API throw error on invalid json. Inconsistent for me. https://github.com/alliedmodders/amxmodx/blob/9417ec188de4c3ccb4c59dad9aa83801cb9bf979/plugins/include/json.inc#L49
To not throw error on call json_get_type on invalid json.
Why check for Invalid_JSON? Other parts of API throw error on invalid json. Inconsistent for me. https://github.com/alliedmodders/amxmodx/blob/9417ec188de4c3ccb4c59dad9aa83801cb9bf979/plugins/include/json.inc#L49