package spotify-web-api

  1. Overview
  2. Docs
OCaml bindings to the Spotify web API

Install

Dune Dependency

Authors

Maintainers

Sources

spotify-web-api.0.2.1.tar.gz
sha256=6bcad14644a5b32e0eb007858472d3b56477a9c4aabcc5b1b87be9164b30d45a
md5=5a26d1c5e23df37104e83e40671d027d

doc/spotify-web-api/Paging_j/index.html

Module Paging_jSource

Sourcetype 'a paging = 'a Paging_t.paging = {
  1. href : string;
  2. items : 'a list;
  3. limit : int;
  4. offset : int;
  5. total : int;
}
Sourceval write_paging : (Buffer.t -> 'a -> unit) -> Buffer.t -> 'a paging -> unit

Output a JSON value of type paging.

Sourceval string_of_paging : (Buffer.t -> 'a -> unit) -> ?len:int -> 'a paging -> string

Serialize a value of type paging into a JSON string.

  • parameter len

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

Input JSON data of type paging.

Sourceval paging_of_string : (Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'a) -> string -> 'a paging

Deserialize JSON data of type paging.

OCaml

Innovation. Community. Security.