Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a paging = 'a Paging_t.paging
type image = Image_t.image
type external_urls = External_urls_t.external_urls
type album_simplified = Album_t.album_simplified = {
album_type : string;
available_markets : string list;
external_urls : external_urls;
href : string;
id : string;
images : image list;
name : string;
uri : string;
}
val write_paging :
(Stdlib.Buffer.t -> 'a -> unit) ->
Stdlib.Buffer.t ->
'a paging ->
unit
Output a JSON value of type paging
.
val string_of_paging :
(Stdlib.Buffer.t -> 'a -> unit) ->
?len:int ->
'a paging ->
string
Serialize a value of type paging
into a JSON string.
val read_paging :
(Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
'a paging
Input JSON data of type paging
.
val paging_of_string :
(Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
string ->
'a paging
Deserialize JSON data of type paging
.
val string_of_image : ?len:int -> image -> string
Serialize a value of type image
into a JSON string.
val read_image : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> image
Input JSON data of type image
.
val write_external_urls : Stdlib.Buffer.t -> external_urls -> unit
Output a JSON value of type external_urls
.
val string_of_external_urls : ?len:int -> external_urls -> string
Serialize a value of type external_urls
into a JSON string.
val read_external_urls :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
external_urls
Input JSON data of type external_urls
.
val external_urls_of_string : string -> external_urls
Deserialize JSON data of type external_urls
.
val write_album_simplified : Stdlib.Buffer.t -> album_simplified -> unit
Output a JSON value of type album_simplified
.
val string_of_album_simplified : ?len:int -> album_simplified -> string
Serialize a value of type album_simplified
into a JSON string.
val read_album_simplified :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
album_simplified
Input JSON data of type album_simplified
.
val album_simplified_of_string : string -> album_simplified
Deserialize JSON data of type album_simplified
.
val write_search_wrapper : Stdlib.Buffer.t -> search_wrapper -> unit
Output a JSON value of type search_wrapper
.
val string_of_search_wrapper : ?len:int -> search_wrapper -> string
Serialize a value of type search_wrapper
into a JSON string.
val read_search_wrapper :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
search_wrapper
Input JSON data of type search_wrapper
.
val search_wrapper_of_string : string -> search_wrapper
Deserialize JSON data of type search_wrapper
.