Uses of Class
com.github.jasminb.jsonapi.JSONAPIDocument
-
Packages that use JSONAPIDocument Package Description com.github.jasminb.jsonapi com.github.jasminb.jsonapi.retrofit -
-
Uses of JSONAPIDocument in com.github.jasminb.jsonapi
Methods in com.github.jasminb.jsonapi that return JSONAPIDocument Modifier and Type Method Description static @NotNull JSONAPIDocument<?>JSONAPIDocument. createErrorDocument(Iterable<? extends Error> errors)Factory method for creating JSONAPIDocument that holds the Error object.<T> JSONAPIDocument<T>ResourceConverter. readDocument(byte[] data, Class<T> clazz)Reads JSON API spec document and converts it into target type.<T> JSONAPIDocument<T>ResourceConverter. readDocument(InputStream dataStream, Class<T> clazz)Reads JSON API spec document and converts it into target type.<T> JSONAPIDocument<List<T>>ResourceConverter. readDocumentCollection(byte[] data, Class<T> clazz)Reads JSON API spec document and converts it into collection of target type objects.<T> JSONAPIDocument<List<T>>ResourceConverter. readDocumentCollection(InputStream dataStream, Class<T> clazz)Reads JSON API spec document and converts it into collection of target type objects.Methods in com.github.jasminb.jsonapi with parameters of type JSONAPIDocument Modifier and Type Method Description byte[]ResourceConverter. writeDocument(JSONAPIDocument<?> document)Serializes providedJSONAPIDocumentinto JSON API Spec compatible byte representation.byte[]ResourceConverter. writeDocument(JSONAPIDocument<?> document, SerializationSettings settings)Serializes providedJSONAPIDocumentinto JSON API Spec compatible byte representation.byte[]ResourceConverter. writeDocumentCollection(JSONAPIDocument<? extends Iterable<?>> documentCollection)Serializes providedJSONAPIDocumentinto JSON API Spec compatible byte representation.byte[]ResourceConverter. writeDocumentCollection(JSONAPIDocument<? extends Iterable<?>> documentCollection, SerializationSettings serializationSettings)Serializes providedJSONAPIDocumentinto JSON API Spec compatible byte representation. -
Uses of JSONAPIDocument in com.github.jasminb.jsonapi.retrofit
Methods in com.github.jasminb.jsonapi.retrofit that return JSONAPIDocument Modifier and Type Method Description JSONAPIDocument<T>JSONAPIDocumentResponseBodyConverter. convert(okhttp3.ResponseBody responseBody)
-