Top "Jackson-modules" questions

Generate JSON schema from Java class

I have a POJO class: public class Stock { int id; String name; Date date; } Are there any annotations or development …

json jackson jsonschema fasterxml jackson-modules
Jackson JSON deserialization with multiple parameters constructor

I've been using FasterXML/Jackson-Databind in my project for a while now, and all was working great, until I've discovered …

java json jackson jackson-modules
Is there a jackson datatype module for JDK8 java.time?

I'm looking for a module for the new JDK8 java.time classes. I have looked through the FasterXML GitHub Project …

jackson java-8 java-time jackson-modules
Spring RestTemplate with Jackson as HttpMessageConverter and joda DateTime property fails to deserialize

The scenario is as follows. I have an ObjectMapper (Jackson 2) that registers a JodaModule, capable of serializing and de-serializing Joda …

spring jackson jodatime jackson-modules
jackson - do not serialize lazy objects

I have an entity: @Entity public class Book { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @Column private String title; @…

java json spring jackson jackson-modules
Generate Json Schema from POJO with a twist

What I have: I'm generating a JSON schema from a pojo. My code to generate the schema looks like so: …

java json enums jackson jackson-modules
Writing Java object instance to YAML using Jackson

I have a 'Example' Pojo class as mentioned below. Can any one tel to save instance of Example class to …

java jackson yaml jackson2 jackson-modules
Jackson , java.time , ISO 8601 , serialize without milliseconds

I'm using Jackson 2.8 and need to communicate with an API that doesn't allow milliseconds within ISO 8601 timestamps. The expected format …

java jackson java-time jackson-modules jackson2
set Jackson ObjectMapper class not to use scientific notation for double

I am using a library com.fasterxml.jackson library for JsonSchema, I am creating an IntegerSchema object, when I set …

java jackson jsonschema jackson-modules
Unexpected token (END_OBJECT), expected FIELD_NAME: missing property '@type'

I am getting below exception during deserialization , the guest profile is a nested object within the Root object (few levels …

jackson jackson-modules jackson2 jackson-databind