You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The serializer is responsible for serializing a jsonapi String into a usable Java Object which represents either the Resource object (which should be a generic Type) or an Error object.
For example the following string should be serialized into an java object which represents articles and contains all attributes and the included objects.
The following should be serialized into an Error object:
{
"errors": [
{
"status": "422",
"source": { "pointer": "/data/attributes/first-name" },
"title": "Invalid Attribute",
"detail": "First name must contain at least three characters."
}
]
}
The serializer package may not be dependent upon other packages or classes but rather be a module which is also usable without the rest of this library.
This leads to a module which can be used by people who want to use flick as a jsonapi serializer but want to manage HTTP requests on their own.
The text was updated successfully, but these errors were encountered:
The serializer is responsible for serializing a jsonapi String into a usable Java Object which represents either the Resource object (which should be a generic Type) or an Error object.
For example the following string should be serialized into an java object which represents
articles
and contains all attributes and the included objects.The following should be serialized into an Error object:
The
serializer
package may not be dependent upon other packages or classes but rather be a module which is also usable without the rest of this library.This leads to a module which can be used by people who want to use
flick
as a jsonapi serializer but want to manage HTTP requests on their own.The text was updated successfully, but these errors were encountered: