Could you please file an issue for `jackson-databind`. Looks like a bug.
-+ Tatu +-
On Thu, Mar 23, 2017 at 5:11 PM, Anuj Kumar wrote:
>
> I am getting an exception with jackson databind version 2.8.0 and later,
> everything works fine with any version below 2.8.0.
>
> Issue
I am getting an exception with jackson databind version 2.8.0 and later,
everything works fine with any version below 2.8.0.
Issue is, if I have a property name with an underscore and the letter after it
is NOT the same as the first letter, then things blow up.
For example I have a Person
On Thu, Mar 23, 2017 at 11:34 AM, Zsolt Balanyi wrote:
> Hi!
>
> Unfortunately none of the approaches worked... XmlBeanSerializerModifier has
> a bug, and does not use the provided modifier, even if I override the method
> you mentioned.
> Could you help me where to
Actually it should already be possible to use `@JsonIgnoreProperties`
for properties as is, but I think it only affects property value
itself, and not contents of containers.
But it seems reasonable to assume that since Lists/arrays/Maps do not
have properties of their own (except in non-standard
You can enable/disable `SerializationFeature`s using `ObjectWriter`
instead of `ObjectMapper`, like so:
byte[] bytes = mapper.writer().with(SerializationFeature.WRAP_ROOT_VALUE)
.writeValueAsBytes(pojo);
I don't know what support Spring Boot offers for doing this.
-+ Tatu +-
On Mon, Mar
You have to annote the properties:
public class YourClass
{
@JsonProperty("ID")
public int id;
@JsonProperty("Fullname")
public String name;
}
Easiest solution would be to use the same names for the properties of your
object as in your csv file but I suppose you have your
Hi!
Unfortunately none of the approaches worked... XmlBeanSerializerModifier
has a bug, and does not use the provided modifier, even if I override the
method you mentioned.
Could you help me where to report the bug?
Also where can I find some resources on the architecture of the Jackson