My agentic slop goes here. Not intended for anyone else!
at main 588 B view raw
1(** Unknown fields for capturing extra JSON object members. 2 3 This module provides a type and utilities for preserving unknown/extra 4 fields when parsing JSON objects with jsont. Use with 5 [Jsont.Object.keep_unknown] to capture fields not explicitly defined 6 in your codec. *) 7 8type t = Jsont.json 9(** The type of unknown fields - stored as raw JSON. *) 10 11val empty : t 12(** An empty unknown fields value (empty JSON object). *) 13 14val is_empty : t -> bool 15(** [is_empty t] returns [true] if there are no unknown fields. *) 16 17val jsont : t Jsont.t 18(** Codec for unknown fields. *)