[jackson-user] @JsonProperty question

2016-10-14 Thread Ewout Van Gossum
Hi, How is @JsonProperty supposed to work? Given the following documentation: - @JsonProperty: Marker annotation that can be used to define a non-static method as a "setter" or "getter" for a logical property (depending on its signature), or non-static object field to be used

[jackson-user] About @JsonProperty, @JsonGetter and @JsonSetter

2016-10-14 Thread Ewout Van Gossum
Hello, I've got a question about the way Jackson works. When you have a class annotated with the following JsonAutoDetect: @JsonIgnoreProperties(ignoreUnknown = true) @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.NONE, getterVisibility = JsonAutoDetect.Visibility.NONE,