Since Jackson v2.0, you can use @JsonFormat annotation directly on Object members;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm a z")
private Date date;
More Related Contents:
- Jackson JSON Deserialization with Root Element
- JSON consumer of polymorphic objects
- Ignoring new fields on JSON objects using Jackson [duplicate]
- Only using @JsonIgnore during serialization, but not deserialization
- How can I include raw JSON in an object using Jackson?
- Jackson Vs. Gson [closed]
- Jackson and generic type reference
- Difference between @JsonIgnore and @JsonBackReference, @JsonManagedReference
- directly convert CSV file to JSON file using the Jackson library
- How can I tell jackson to ignore a property for which I don’t have control over the source code?
- Spring Boot Jackson date and timestamp Format
- Java: Jackson polymorphic JSON deserialization of an object with an interface property?
- Jackson dynamic property names
- How to serialize only the ID of a child with Jackson
- Jackson custom serialization and deserialization
- Issue with parsing the content from JSON file with Jackson & message- JsonMappingException -Cannot deserialize as out of START_ARRAY token
- Jackson JSON library: how to instantiate a class that contains abstract fields
- How to produce JSON output with Jersey 1.6 using JAXB
- Jackson deserialization with unknown dynamic properties
- Jackson – deserialize inner list of objects to list of one higher level
- Merging Two JSON Documents Using Jackson
- Use class name as root key for JSON Jackson serialization
- How to deserialize a blank JSON string value to null for java.lang.String?
- Jackson parse json with unwraping root, but without ability to set @JsonRootName
- Jackson list deserialization. nested Lists
- Custom Jackson Serializer for a specific type in a particular class
- Why does Jackson 2 not recognize the first capital letter if the leading camel case word is only a single letter long?
- Jackson custom annotation for custom value serialization
- Spring-MVC 406 Not Acceptable instead of JSON Response
- Convert JsonNode into POJO