I have an id that is pretty large on one of my java objects. When it jackson converts it to JSON it sends it down as a number (e.g. {\"id\":1000110040000000001}) but as soon
Jackson-databind (at least 2.1.3) provides special ToStringSerializer. That did it for me.
@Id @JsonSerialize(using = ToStringSerializer.class) private Long id;