int json_last_error ( void )
Returns the last error (if any) occurred during the last JSON encoding/decoding.
Returns an integer, the value can be one of the following constants: JSON error codes Constant Meaning Availability