Module Values.SubstringSource

A reference to a substring of a literal string in a JSON document.

Sourcetype nonrec t = {
  1. start : Integer.t option;
    (*

    The start index of the substring, starting from 0.

    *)
  2. length : Integer.t option;
    (*

    The length of the substring.

    *)
}
Sourceval make : ?start:??? -> ?length:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t