JSON.SerializeError

describes the cause of a serialization failure.

NonFiniteNumber is emitted when a JSON.Num contains NaN or infinity, neither of which is representable in JSON.

NonFiniteNumber

instantiate

(Fn [Double] JSON.SerializeError)

creates a NonFiniteNumber.

copy

instantiate

(Fn [(Ref JSON.SerializeError a)] JSON.SerializeError)

copies a SerializeError.

delete

instantiate

(Fn [JSON.SerializeError] ())

deletes a JSON.SerializeError. This should usually not be called manually.

get-tag

instantiate

(Fn [(Ref JSON.SerializeError a)] Int)

Gets the tag from a SerializeError.

prn

instantiate

(Fn [(Ref JSON.SerializeError a)] String)

converts a JSON.SerializeError to a string.

str

instantiate

(Fn [(Ref JSON.SerializeError a)] String)

converts a JSON.SerializeError to a string.