title: How to deserialize a JSON file into an ArrayList with nested classes?
body: <p>I have this Java class:</p>
  
  <pre><code>class A {
      private B b;
  
      class B {
          private String a;
          //getter + setter
      }    
  }
  </code></pre>
  
  <p>This is the content of JSON file:</p>
  
  <pre><code>[{"b" : {"a": "Hello!"}},
   {"b" : {"a": "Hi!"}},
   {"b" : {"a": "Hello2!"}}]
  </code></pre>
  
  <p>I want to deserialize my JSON file into an <code>ArrayList&lt;A&gt;</code> with the nested class inside.
  How can I do this?</p>