package decoders
Module Decoders.DecodeSource
Source
type 'value exposed_error = | Decoder_error of string * 'value option| Decoder_errors of 'value exposed_error list| Decoder_tag of string * 'value exposed_error
Creating a Decoder implementation
The following are useful only if you are creating a new Decoder implementation.
Signature of things that can be decoded.
Source
module Make
(M : Decodeable) :
S
with type value = M.value
and type 'a decoder = (M.value, 'a) exposed_decoderDerive decoders for a Decodeable.value.