Quote:
Originally Posted by Craxor
Hi, i want to ask if the module have been updated to work with this request ? Thank you.
|
The JSON module included in 1.9 or later should be able to do so.
PHP Code:
native JSON:json_parse(const string[], bool:is_file = false, bool:with_comments = false)
/**
* Parses JSON string or a file that contains JSON.
*
* @note Needs to be freed using json_free() native.
*
* @param string String to parse
* @param is_file True to treat string param as filename, false otherwise
* @param with_comments True if parsing JSON includes comments (it will ignore them), false otherwise
*
* @return JSON handle, Invalid_JSON if error occurred
*/
__________________