Cosmos.Json_converter_jSourcetype list_databases = Json_converter_t.list_databases = {_rid : string;databases : database list;_count : int;}type included_paths = Json_converter_t.included_paths = {path : string;indexes : indexes list;}type indexing_policy = Json_converter_t.indexing_policy = {automatic : bool;indexing_mode : string;included_paths : included_paths list;}type collection = Json_converter_t.collection = {id : string;indexing_policy : indexing_policy;partition_key : partitionKey_result option;rid : string;ts : int;self : string;etag : string;docs : string;sprocs : string;triggers : string;udfs : string;conflicts : string;}type list_collections = Json_converter_t.list_collections = {rid : string;document_collections : collection list;count : int;}type create_collection = Json_converter_t.create_collection = {id : string;indexing_policy : indexing_policy option;partition_key : create_partition_key option;}Serialize a value of type user into a JSON string.
Input JSON data of type user.
Serialize a value of type parameter into a JSON string.
Input JSON data of type parameter.
Serialize a value of type query into a JSON string.
Input JSON data of type query.
Output a JSON value of type partitionKey_result.
Serialize a value of type partitionKey_result into a JSON string.
val read_partitionKey_result :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
partitionKey_resultInput JSON data of type partitionKey_result.
Deserialize JSON data of type partitionKey_result.
Output a JSON value of type list_users.
Serialize a value of type list_users into a JSON string.
Input JSON data of type list_users.
Deserialize JSON data of type list_users.
Serialize a value of type database into a JSON string.
Input JSON data of type database.
Output a JSON value of type list_databases.
Serialize a value of type list_databases into a JSON string.
Input JSON data of type list_databases.
Deserialize JSON data of type list_databases.
Serialize a value of type indexes into a JSON string.
Input JSON data of type indexes.
Output a JSON value of type included_paths.
Serialize a value of type included_paths into a JSON string.
Input JSON data of type included_paths.
Deserialize JSON data of type included_paths.
Output a JSON value of type indexing_policy.
Serialize a value of type indexing_policy into a JSON string.
Input JSON data of type indexing_policy.
Deserialize JSON data of type indexing_policy.
Output a JSON value of type collection.
Serialize a value of type collection into a JSON string.
Input JSON data of type collection.
Deserialize JSON data of type collection.
Output a JSON value of type list_collections.
Serialize a value of type list_collections into a JSON string.
Input JSON data of type list_collections.
Deserialize JSON data of type list_collections.
Output a JSON value of type create_user.
Serialize a value of type create_user into a JSON string.
Input JSON data of type create_user.
Deserialize JSON data of type create_user.
Output a JSON value of type create_partition_key.
Serialize a value of type create_partition_key into a JSON string.
val read_create_partition_key :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
create_partition_keyInput JSON data of type create_partition_key.
Deserialize JSON data of type create_partition_key.
Output a JSON value of type create_database.
Serialize a value of type create_database into a JSON string.
Input JSON data of type create_database.
Deserialize JSON data of type create_database.
Output a JSON value of type create_collection.
Serialize a value of type create_collection into a JSON string.
Input JSON data of type create_collection.
Deserialize JSON data of type create_collection.