jsonapi v0.5.0 JSONAPI.Serializer
Serialize a map of data into a properly formatted JSON API response object
Summary
Functions
Takes a view, data and a optional plug connection and returns a fully JSONAPI Serialized document. This assumes you are using the JSONAPI.View and have data in maps or structs
Functions
Takes a view, data and a optional plug connection and returns a fully JSONAPI Serialized document. This assumes you are using the JSONAPI.View and have data in maps or structs.
Please refer to JSONAPI.View
for more information. If you are in interested in relationships
and includes you may also want to reference the JSONAPI.QueryParser
.