package azure-cosmos-db-lwt

  1. Overview
  2. Docs
Lwt backend for azure-cosmos-db

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.4.0.tar.gz
md5=d40d44729ff32f4a858ec00ea36eada9
sha512=9c94e4af0f79fd97eb1bbf8bac4ea6764200b037ebb4cba197c0ce463e52424f533bbbacac37e7a4f410e1edf4acb92939f3a899ed7391cc012a5ebcb16f4619

doc/azure-cosmos-db-lwt.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.