====== Fasterxml Custom Ser/Deser ====== ===== - 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 ===== - Custom Serializer ===== Test case: src/test/java/com/gtarc/servicedirectory/api/isco/rest/jackson/test/customEListSerTest.java ===== - Custom Deserializer ===== ===== - Handling Map, SimpleEntry ===== * https://stackoverflow.com/questions/27283479/map-deserializing-with-jackson-in-java ===== Tree model ===== * https://github.com/FasterXML/jackson-databind * https://www.baeldung.com/jackson-json-node-tree-model * https://stackoverflow.com/questions/7653813/jackson-json-get-node-name-from-json-tree *