Serialization of Containment #191
-
Dear Team, is there a possibility to configure the (de) serializer, so that containment references are serialized as actual references, and not have the containment hierarchy in one document? (w/o modifying the ecore). Thanks, Andreas |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
HI @grafandreas , Just out of curiosity why do you want to split the tree to multiple files? |
Beta Was this translation helpful? Give feedback.
HI @grafandreas ,
yes you could override https://github.com/eclipse-emfcloud/emfjson-jackson/blob/ed9069ec6c80bc7ddc276c2e6888aee24cb9c888/src/main/java/org/eclipse/emfcloud/jackson/module/EMFModule.java#L172 and there use a custom version of
EMFDeserializers
andEMFSerializers
.Just out of curiosity why do you want to split the tree to multiple files?