1.2 released: Generics and Jackson support

31 views
Skip to first unread message

Chris Purcell

unread,
Oct 12, 2015, 6:10:02 PM10/12/15
to FreeBuilder
Hi folks!

I'm happy to announce we've lept two minor release numbers in a single day, adding support for generics and the Jackson JSON serialization library.

// This type can be freely converted to and from JSON with Jackson
@JsonDeserialize(builder = Address.Builder.class)
interface Address {
   
@JsonProperty("city") String getCity();
   
@JsonProperty("state") String getState();

   
class Builder extends Address_Builder {}
}

Thanks to Callum Rogers, Hassan Mansoor and Holger Durer 👊 for reviewing these two, plus other point fixes released since v1.0.

Happy coding!
Chris

Reply all
Reply to author
Forward
0 new messages