A fundamental and extendable JSON API library for Go.
MIT License
A fundamental and extendable JSON API library for Go.
Package jsonapi
provides structures and functions to implement JSON API compatible APIs. The library can be used with any framework and is built on top of the standard Go http library.
The package supports the non-standard but widely adopted "custom actions" extension to support the following patterns:
GET /posts/highlighted
DELETE /posts/cache
POST /posts/1/publish
DELETE /posts/1/history
The package supports the non-standard but documented "cursor pagination" profile.
The testing server implements a basic API server using the standard HTTP package.
Get the package using the go tool:
$ go get -u github.com/256dpi/jsonapi/v2
The MIT License (MIT)
Copyright (c) 2016 Joël Gähwiler