Module
Codec.Json.Types
- Package
- purescript-json-codecs
- Repository
- jordanmartinez/purescript-json-codecs
#ExpectedJsonType Source
data ExpectedJsonType
When decoding a primtive JSON value, this was the type of value we were expecting to decode.
Constructors
#ActualJsonType Source
data ActualJsonType
When decoding a primtive JSON value, this was the type of value we were actually got.
Constructors
#JsonOffset Source
data JsonOffset
Indicates the path to the current JSON value within some larger JSON value
Constructors
Instances
#printJsonOffset Source
printJsonOffset :: JsonOffset -> String
#JsonErrorHandlers Source
newtype JsonErrorHandlers e
Constructors
JsonErrorHandlers { addCtorHint :: Fn3 (Array JsonOffset) String e e, addFieldHint :: Fn3 (Array JsonOffset) String e e, addJsonOffset :: Fn2 (Array JsonOffset) JsonOffset (Array JsonOffset), addSubtermHint :: Fn3 (Array JsonOffset) Int e e, addTypeHint :: Fn3 (Array JsonOffset) String e e, onMissingField :: Fn2 (Array JsonOffset) String e, onMissingIndex :: Fn2 (Array JsonOffset) Int e, onStructureError :: Fn2 (Array JsonOffset) String e, onTypeMismatch :: Fn3 (Array JsonOffset) ExpectedJsonType ActualJsonType e, onUnrefinableValue :: Fn2 (Array JsonOffset) String e }
- Modules
- Codec.
Codec - Codec.
Decoder - Codec.
Decoder. Qualified - Codec.
Json. Bidirectional. Class - Codec.
Json. Bidirectional. Value - Codec.
Json. Errors. AnsiDodoError - Codec.
Json. Errors. DecodeMessages - Codec.
Json. Errors. NoError - Codec.
Json. Errors. PlainDodoError - Codec.
Json. Errors. PrimitiveJsonError - Codec.
Json. Errors. Tree - Codec.
Json. JsonCodec - Codec.
Json. JsonDecoder - Codec.
Json. Newtypes - Codec.
Json. Types - Codec.
Json. Unidirectional. Decode. Class - Codec.
Json. Unidirectional. Decode. Value - Codec.
Json. Unidirectional. Encode. Class - Codec.
Json. Unidirectional. Encode. Value - Data.
V. Semigroup. Qualified