meilisearch-java icon indicating copy to clipboard operation
meilisearch-java copied to clipboard

Standardize the `jsonHandler` and reduce the use to one `JSON` library

Open alallema opened this issue 2 years ago • 0 comments

Pull Request

What does this PR do?

This PR tends to normalize the JSON Library used in this SDK try to gather all the code using a JSON library into a single handler that can be customizable.

PR checklist

  • [ ] fixed #253 (TO FINISH)
  • [x] Add the possibility to define a JSON through the Config() object
  • [x] Remove all usage of a Library without passing by the jsonHandler Class
  • [ ] Add a series of tests for the other jsonHandler than GSON
  • [ ] Add usage explanation on the README

Notes

  • Finish removing org.json.JSON
  • Issue with getDistinctAttributeSettings() method who is still messy

alallema avatar Aug 17 '22 14:08 alallema