Skip to content

PaginatedListJSONConverter[A: Any val]

[Source]

Converts a JSON array response with Link header pagination into a PaginatedList. Delegates individual item conversion to the wrapped JSONConverter.

class val PaginatedListJSONConverter[A: Any val]

Constructors

create

[Source]

new val create(
  creds: Credentials val,
  converter: JSONConverter[A] val)
: PaginatedListJSONConverter[A] val^

Parameters

Returns


Public Functions

apply

[Source]

Converts JSON and Link header into a PaginatedList.

fun box apply(
  json: JSONNav val,
  link_header: String val,
  creds: Credentials val)
: PaginatedList[A] val ?

Parameters

Returns