This repository was archived by the owner on Oct 16, 2024. It is now read-only.
v1.7
With this release, the only annotation you need to make your types Jackson-compatible is @JsonDeserialize
; getter methods without an explicit @JsonProperty
annotation will use the default property name (issue #90).
// This type can be freely converted to and from JSON with Jackson
@FreeBuilder
@JsonDeserialize(builder = Address.Builder.class)
interface Address {
String getCity();
String getState();
class Builder extends Address_Builder {}
}
Additionally, you should get a nicer error message if you forget the package
declaration on your value type (issue #85).