package spotify-web-api

  1. Overview
  2. Docs
type followers = Followers_t.followers = {
  1. href : string option;
  2. total : int;
}
val write_followers : Stdlib.Buffer.t -> followers -> unit

Output a JSON value of type followers.

val string_of_followers : ?len:int -> followers -> string

Serialize a value of type followers into a JSON string.

  • parameter len

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

val read_followers : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> followers

Input JSON data of type followers.

val followers_of_string : string -> followers

Deserialize JSON data of type followers.