title: Cannot work with Jackson
body: <p>I am wondering why there is not a determined way to work with <code>Jackson</code>. I just want to parse <code>JSON</code> string:</p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  Customer[] myObjects = mapper.readValue(file, Customer[].class);
  </code></pre>
  
  <p>But I really confused what should I import to do that. According to this <a href="http://examples.javacodegeeks.com/core-java/json/jackson/convert-java-object-to-from-json-using-jackson-example/" rel="noreferrer">link</a>, I tried to import <code>mapper-asl.jar</code>. But I get this compile error:</p>
  
  <pre><code>The type org.codehaus.jackson.JsonParser cannot be resolved. It is indirectly referenced from required .class files
  </code></pre>
  
  <p>Then I try to import <code>jackson-core-2.4.2</code> and <code>jackson-databind-2.4.2</code>. So there was no compile error but I got this runtime exception instead (in mapper definition line):</p>
  
  <pre><code>java.lang.NoClassDefFoundError: com.fasterxml.jackson.annotation.JsonAutoDetect
  </code></pre>
  
  <p>Guide me please what should I import to work with <code>Jackson</code>. Thanks</p>