jsonapi-converter
jsonapi-converter copied to clipboard
JSONAPI-Converter is a Java/Android library that provides support for working with JSONAPI spec
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.9.10.8 to 2.12.7.1. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
I have created api model object with relationship: ``` FirstApiModel f = new FirstApiModel(); f.setId("1"); f.setName("test"); RelationShipApiModel r = new RelationShipApiModel(); r.setName("bla"); f.setRelationship(r); ResourceConverter resourceConverter = new ResourceConverter(FirstApiModel.class, RelationShipApiModel.class); resourceConverter.enableSerializationOption(SerializationFeature.INCLUDE_RELATIONSHIP_ATTRIBUTES);...
Hi, I've got JSON data which looks like this (excerpt): `"arbitrary": { "data": { "type": "arbitrary", "id": "28", "name": "Some Text" } }` Is it possible to get access to...
how to parse this in document like links and meta "jsonapi": { "version": "1.0" }
The Retrofit dependency should be made optional as the core of this library does not depend on it.
I see there is a a plugin for Okhttp3. Was wondering if there will be support for the the reactive webclient
This is to handle the case, where some server side serialization libraries might mixup singular and plural type names. An example are these two nodejs libraries https://www.npmjs.com/package/jsonapi-serializer - produces plurals...
The purpose of this PR is to allow to have all the relationships of a resource object to be always present inside relationships node and have links if they exists...
JSONAPIDocument jsonApiDocumentCollection = converter.readDocumentCollection(data, clazz); the above code always throws a exception while reading a collection of document. It erros out during validation in this method It calls ValidationUtils.ensureValidDocument(ObjectMapper mapper,...
I have a JSON object with a boolean `isFavorite` field, like so (simplified, obviously): ``` { "attributes": { "isFavorite": false }} ``` If my kotlin class for parsing this object...