Hello everyone!
I just released a new package that helps to implement a classic or
jsonapi.org compliant API.
It provides helpful modules to:
- Restrict API includes, sorting, filtering...
- Render resources.
- Encode and decode params and output to support clients with dasherized keys.
It differs from other solutions such as JaSerializer or jsonapi in the way you declare your view. the package doesn’t provide a DSL.
You have to build your `render` view yourself. This trades convenience for extensibility. With your own render implementation, you don’t
have to follow the
jsonapi.org standard or hack your way in supporting the URLs that package like
jsonapi invented for you.
80% of the features are taken from those packages but implemented in a different way.
Everything is tested, documented and "@spec-ed".
My goal is to gives to the community a simple package that every JSON API in Elixir can use.