package atdgen-codec-runtime

  1. Overview
  2. Docs

Functor, allowing the use of a custom parameter:

module Kind = Type_field.Make (struct type_field_name = "kind" end)


module Param : Param


val normalize : Json.t -> Json.t

Convert a real json tree into an atd-compliant form.

val restore : Json.t -> Json.t

Convert an atd-compliant json tree into a real json tree.