title: Jackson multiple objects and huge json files
body: <p>I get the feeling that the answer might be a duplicate of this: <a href="https://stackoverflow.com/questions/7045836/jackson-json-to-pojo-with-multiple-entries">Jackson - Json to POJO With Multiple Entries</a> but I think that potentially the question is different enough. Also I'm using raw data binding rather than full data binding. </p>
  
  <p>So like the asker of that question, I have multiple objects in a file and I'm trying to turn them into POJOs and stuff them into a database of my design so I can access the data quickly rather than slowly.</p>
  
  <p>The files here are in the order of tens of GB, with up to millions of objects in each file. Anyway here is what I have so far:</p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  Map&lt;String,Object&gt; data = mapper.readValue(new File("foo.json"), Map.class);
  System.out.println(data.get("bar"));
  </code></pre>
  
  <p>And this works great for printing the bar element of the first object in foo, but I need a way to iterate through every element in a way that won't eat up all my memory.</p>
  
  <p>Thanks.</p>