title: Jackson 1.8.0 ObjectMapper to serialize/deserialize arbitrary classes
body: <p>How can I tell Jacksons ObjectMapper to serialize my own classes? Do I have to provide a serializer?</p>
  
  <p>Consider the following example:</p>
  
  <pre><code>public class MyType {
      private int a;
      private String b;
      // Getters and Setters
  }
  
  // TODO: configure ObjectMapper, such that the following is true:
  
  objectMapper.canDeserialize(type)
  </code></pre>
  
  <p>I believe there is a way that Jackson does everything automatically, without specifying a deserialization "strategy" as the serialization of MyType already works.</p>
  
  <p>Thanks for your help!</p>