package atdgen-runtime

  1. Overview
  2. Docs

Functor needed to produce a module using the correct parameters.

Parameters

module Param : Param

Signature

val normalize : Yojson.Safe.t -> Yojson.Safe.t

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

val restore : Yojson.Safe.t -> Yojson.Safe.t

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