JSON.ParseError
wraps a ParseErrorKind together with the byte position
in the input where the error was detected.
delete
(Fn [JSON.ParseError] ())
deletes a ParseError. Should usually not be called manually.
kind
(Fn [(Ref JSON.ParseError a)] (Ref JSON.ParseErrorKind a))
gets the kind property of a ParseError.
position
(Fn [(Ref JSON.ParseError a)] (Ref Int a))
gets the position property of a ParseError.
set-kind
(Fn [JSON.ParseError, JSON.ParseErrorKind] JSON.ParseError)
sets the kind property of a ParseError.
set-kind!
(Fn [(Ref JSON.ParseError a), JSON.ParseErrorKind] ())
sets the kind property of a ParseError in place.
set-position
(Fn [JSON.ParseError, Int] JSON.ParseError)
sets the position property of a ParseError.
set-position!
(Fn [(Ref JSON.ParseError a), Int] ())
sets the position property of a ParseError in place.
update-kind
(Fn [JSON.ParseError, (Ref (Fn [JSON.ParseErrorKind] JSON.ParseErrorKind a) b)] JSON.ParseError)
updates the kind property of a JSON.ParseError using a function f.
update-position
(Fn [JSON.ParseError, (Ref (Fn [Int] Int a) b)] JSON.ParseError)
updates the position property of a JSON.ParseError using a function f.