Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Atd.JsonSourceMapping from ATD to JSON
type json_adapter = {ocaml_adapter : ocaml_adapter option;A module implementing normalize and restore.
java_adapter : string option;tbd
*)}Association between languages and json adapter for that language. The specification of each json adapter is language-specific.
type json_sum = {json_sum_adapter : json_adapter;json_open_enum : bool;json_sum_repr : json_sum_repr;Whether tagged variants are encoded as "Cons", payload (Array, default) or "Cons": payload (Object). Unit variants are always encoded as "Cons" strings regardless.
}type json_repr = | Abstract| Bool| Cell| Def| External| Field of json_field| Float of json_float| Int of json_int| List of json_list| Name| Nullable| Option| Record of json_record| String| Sum of json_sum| Tuple| Unit| Variant of json_variant| WrapThe different kinds of ATD nodes with their json-specific options.