My Wiki!

Fasterxml Custom Ser/Deser

1. Problem

We have a complex object generated from EMF, which has lots of meta data and emf data type: EList, EObject, etc. Most fields are handled well by Jackson polimorphic type handling (Mixin, subtypes annotations). We want custom ser/deser for special fields like EList<?>.

Note: there is a promissing emfjson project on github. Try it otherwise!

Project: git@gitlab.dai-labor.de:isco/service-directory-api-isco-impl.git

2. Custom Serializer

Test case: src/test/java/com/gtarc/servicedirectory/api/isco/rest/jackson/test/customEListSerTest.java

3. Custom Deserializer

4. Handling Map, SimpleEntry

Tree model


Navigation