Module Values.PathElementSource

A single element in a path through the JSON representation of a policy.

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

    Refers to an index in a JSON array.

    *)
  2. key : String_.t option;
    (*

    Refers to a key in a JSON object.

    *)
  3. substring : Substring.t option;
    (*

    Refers to a substring of a literal string in a JSON object.

    *)
  4. value : String_.t option;
    (*

    Refers to the value associated with a given key in a JSON object.

    *)
}
Sourceval make : ?index:??? -> ?key:??? -> ?substring:??? -> ?value:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `Integer of Integer.t ]) list ]) 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