atdgen-codec-runtime

Runtime for atdgen generated bucklescript converters
Library atdgen-codec-runtime

Module signature required of any json adapter. For example, an ATD annotation <json adapter.ocaml="Atdgen_codec_runtime.Json_adapter.Type_field" refers to the OCaml module Atdgen_codec_runtime.Json_adapter.Type_field.

module type S = sig ... end
module Type_field : sig ... end

Support for json objects that contain a field that indicates the type of that object. The following