Cool the change has been pushed.


On Tue, Jul 23, 2013 at 9:47 AM, Jake Wharton <notifications@github.com>wrote:

> In
> retrofit-converters/jackson/src/main/java/retrofit/converter/JacksonConverter.java:
>
> > + *
> > + * @author Kai Waldron (kaiwaldron@gmail.com)
> > + */
> > +public class JacksonConverter implements Converter {
> > +  private static final String MIME_TYPE = "application/json; charset=UTF-8";
> > +
> > +  private final ObjectMapper objectMapper;
> > +
> > +  public JacksonConverter(ObjectMapper objectMapper) {
> > +    this.objectMapper = objectMapper;
> > +  }
> > +
> > +  @SuppressWarnings("unchecked")
> > +  @Override public Object fromBody(TypedInput body, Type type) throws ConversionException {
> > +    try {
> > +      return objectMapper.readValue(body.in(), (Class<Object>) type);
>
> Oh, nice. As you might be able to tell, I'm not a Jackson user. From
> checking the docs, that approach seems reasonable. Push an update to your
> branch and we'll get this in.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/square/retrofit/pull/280/files#r5349939>
> .
>