we are serializing process variables to JSON using spin, which basically is working.
Now I added a convenience method to our entity, calculating the value from other attributes.
To prevent this method to result in a serialized field, I added a com.fasterxml.jackson.annotation.JsonIgnore annotation.
Problem is, it will not be respected during serialization.
I debugged it into jackson internals and found out jackson did parse the annotation correctly, but is using two distinct instances of JsonIgnore in com.fasterxml.jackson.databind.introspect.AnnotatedWithParams.getAnnotation(Class<A>), i.e. the provided instances != key in _annotations
I have no clue why this is happening. And how to fix it. Can you?
Maybe I should mention, we are running camunda 7.3 on wildfly. All spin artifacts are configured as provided in the pom.
Cheers,
Philipp