package azure-cosmos-db

  1. Overview
  2. Docs
Azure cosmos db interface

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.1.tar.gz
md5=9d6c72984d8657207a715d5198221b40
sha512=9c9da903d5abe5e335bb7083eeda62345830239628f96d1b7292adfab82c1cc9fe304399527178cb8dfa6dd4537a15bbd4f6f12b073a14fb168a8f96bba93ad7

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.