this PR introduces a new model annotation @JsonAlias similar to the one in Jackson used for deserialization. It allows to process a JSON attribute with an alias name, which is especially useful, when you want to rename an attribute while retaining schema compatibility.
Furthermore, I removed a code duplicate in EObjectPropertyMap by using EObject.getEAllStructuralFeatures and a type cast instead of iterating over EObject.getEAllAttributes and EObject.getEAllReferences separately.
Hi,
this PR introduces a new model annotation
@JsonAlias
similar to the one in Jackson used for deserialization. It allows to process a JSON attribute with an alias name, which is especially useful, when you want to rename an attribute while retaining schema compatibility.Furthermore, I removed a code duplicate in
EObjectPropertyMap
by usingEObject.getEAllStructuralFeatures
and a type cast instead of iterating overEObject.getEAllAttributes
andEObject.getEAllReferences
separately.