json::get_error()
Get error information if json.decode() returns nothing (null)
json::get_error()
There are no parameters.
string — An error string
response = json.decode("this is bad json")
if is_nothing(response)
writeln(json.get_error())
endif