Skip to content

PaginatedSearchJsonConverter[A: Any val]

[Source]

Converts a JSON search response (with total_count, incomplete_results, and items fields) plus Link header pagination into SearchResults.

class val PaginatedSearchJsonConverter[A: Any val]

Constructors

create

[Source]

new val create(
  creds: Credentials val,
  converter: JsonConverter[A] val)
: PaginatedSearchJsonConverter[A] val^

Parameters

Returns


Public Functions

apply

[Source]

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

Parameters

Returns