Store.Json_treeJson_tree is used to project JSON values onto trees. Instead of the entire object being stored under one key, it is split across several keys starting at the specified root key.
module Store : Store_intf.S with type Schema.Contents.t = Contents.jsoninclude Contents.S with type t = Contents.jsontype t = Contents.jsonThe type for user-defined contents.
Merge function. Evaluates to `Conflict msg if the values cannot be merged properly. The arguments of the merge function can take None to mean that the key does not exists for either the least-common ancestor or one of the two merging points. The merge function returns None when the key's value should be deleted.
val encoding : t Data_encoding.tencoding is the data_encoding value for t.
val to_concrete_tree : t -> Store.Tree.concreteval of_concrete_tree : Store.Tree.concrete -> tval get_tree : Store.tree -> Path.t -> tExtract a json value from tree at the given key.
val set_tree : Store.tree -> Path.t -> t -> Store.treeProject a json value onto a tree at the given key.
val set : Store.t -> Path.t -> t -> info:(unit -> Store.info) -> unitProject a json value onto a store at the given key.