PaginatedListJSONConverter[A: Any val]¶
Converts a JSON array response with Link header pagination into a PaginatedList. Delegates individual item conversion to the wrapped JSONConverter.
Constructors¶
create¶
new val create(
creds: Credentials val,
converter: JSONConverter[A] val)
: PaginatedListJSONConverter[A] val^
Parameters¶
- creds: Credentials val
- converter: JSONConverter[A] val
Returns¶
- PaginatedListJSONConverter[A] val^
Public Functions¶
apply¶
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¶
- json: JSONNav val
- link_header: String val
- creds: Credentials val
Returns¶
- PaginatedList[A] val ?