Records an error at the current position (when there is none yet) and returns false.
json_fail :: (r: *Json_Reader, kind: Json_Error_Kind, message: string) -> bool
Records an error at the current position (when there is none yet) and returns false.
Parameters
- r: *Json_Reader
- kind: Json_Error_Kind
- message: string
Returns
- bool