package azure-cosmos-db

  1. Overview
  2. Docs
Azure cosmos db interface

Install

Dune Dependency

Authors

Maintainers

Sources

b3591342203358b8b7c51532cde0345d0445ebf4.tar.gz
md5=6fb48d24a88b2aff316dacd396e7501a
sha512=b20d4cb05554d9cea12b2729cfc0b98151707ea9125964366f0d0cefb1e8dc235a8f9563bb052a60ab5bf190eaa78579708749d315b18c71c4bcae91d78b9e05

doc/azure-cosmos-db.app-config/App_config/Json/index.html

Module App_config.JsonSource

Sourcetype kv_item = {
  1. etag : string;
  2. key : string;
  3. label : string option;
  4. content_type : string option;
  5. locked : bool;
  6. last_modified : string;
}
Sourcetype kv_result = {
  1. items : kv_item list;
}
Sourceval write_kv_item : Buffer.t -> kv_item -> unit

Output a JSON value of type kv_item.

Sourceval string_of_kv_item : ?len:int -> kv_item -> string

Serialize a value of type kv_item into a JSON string.

  • parameter len

    specifies the initial length of the buffer used internally. Default: 1024.

Input JSON data of type kv_item.

Sourceval kv_item_of_string : string -> kv_item

Deserialize JSON data of type kv_item.

Sourceval write_kv_result : Buffer.t -> kv_result -> unit

Output a JSON value of type kv_result.

Sourceval string_of_kv_result : ?len:int -> kv_result -> string

Serialize a value of type kv_result into a JSON string.

  • parameter len

    specifies the initial length of the buffer used internally. Default: 1024.

Input JSON data of type kv_result.

Sourceval kv_result_of_string : string -> kv_result

Deserialize JSON data of type kv_result.

OCaml

Innovation. Community. Security.