1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
(**
The Yojson library provides several types for representing JSON values, with different use cases.
- The {{!basic}Basic} JSON type,
- The {{!safe}Safe} JSON type, a superset of JSON with safer support for integers,
- The {{!raw}Raw} JSON type, a superset of JSON, safer but less integrated with OCaml types.
Each of these different types have their own module.
*)
(** {1 Shared types and functions} *)
include module type of Common
include module type of T
(** {1:basic Basic JSON tree type} *)
module Basic = Basic
(** {1:safe Multipurpose JSON tree type} *)
module Safe = Safe
(** {1 JSON tree type with literal int/float/string leaves} *)
module Raw = Raw
(** {1:raw Supertype of all JSON tree types} *)
|