ParchmentMC / Feather

Library for common data objects used by ParchmentMC projects.
MIT License
4 stars 6 forks source link

Add IO adapter/datatype module for FasterXML Jackson #12

Open sciwhiz12 opened 10 months ago

sciwhiz12 commented 10 months ago

We currently provide IO adapters for google/gson and square/moshi, two popular JSON libraries for the JVM.

For more options for consumers, we should also look into providing an IO adapter for FasterXML/jackson. Specifically, we would provide a "datatype module" -- a Module which can be registered to ObjectMapper.registerModule -- so Jackson's databind package can read and write our objects.

They'll be hooked up into the standard battery of IO tests we have already, to ensure there are no regressions or mismatched behaviors.