Skip to content
Chris Petersen edited this page Sep 18, 2015 · 1 revision

Returns #t if argument is a JSON error oject, #f otherwise

Parameter Description
obj Object to check

Example

> (json-error? (json-decode "{ \"test\": true }"))
#f
> (json-error? (json-decode "test"))
#t
Clone this wiki locally