title: How register JacksonFeature on ClientConfig
body: <p>How to give back JSON on resfull java project using jackson?</p>
  
  <p>Following the article <a href="http://www.vogella.com/tutorials/REST/article.html" rel="nofollow">http://www.vogella.com/tutorials/REST/article.html</a> (8.4. Create a client ) about create rest project in java, it says that return json proceed like:</p>
  
  <pre><code>public class TodoTest {
  
    public static void main(String[] args) {
      ClientConfig config = new new ClientConfig().register(JacksonFeature.class);
      Client client = ClientBuilder.newClient(config);
  
      WebTarget target = client.target(getBaseURI());
      System.out.println(target.path("rest").path("todo").request()
          .accept(MediaType.APPLICATION_JSON).get(String.class));
    }
  
    private static URI getBaseURI() {
      return UriBuilder.fromUri("http://localhost:8080_com.vogella.jersey.jaxb").build();
    }
  } 
  
  @XmlRootElement
  public class Todo {
      private String id;
      private String summary;
      private String description;
      //getter/setter
  }
  </code></pre>
  
  <p>But JacksonFeature.class is not in Jackson.jar.
  I'm using </p>
  
  <pre><code>jackson-annotations-2.8.2.jar
  jackson-core-2.8.2.jar
  jackson-databind-2.8.2.jar
  jackson-jaxrs-base-2.8.2.jar
  jackson-jaxrs-json-provider-2.8.2.jar
  jackson-module-jaxb-annotations-2.8.2.jar
  </code></pre>
  
  <p>How could i solve it?</p>