A very opinionated library for enconding JSON:API requests and decoding JSON:API responses. It resolves relationships
into nested documents, allowing an easy switch from application/json
to application/vnd.api+json
.
The public API consists of two functions, encode
and decode
.
Transforms any kind of JSON data into a JSON:API document.
Tries decoding a JSON:API document into a JSON payload.