When fetching N pages, avoid printing N separate JSON arrays to the output stream. Instead, massage the output so that the N pages of data are merged into a single JSON array. This is achieved by omitting the final `]` for the first page, and omitting the initial `[` for all subsequent pages. |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| fields.go | ||
| fields_test.go | ||
| http.go | ||
| http_test.go | ||
| pagination.go | ||
| pagination_test.go | ||