title: JSON parse with Objectmapper JAVA
body: <p>This is the JSON string:</p>
  
  <pre><code>{
     "d":{
        "results":[
           {
              "__metadata":{
                 "uri":"http://blabla1",
                 "type":"type1"
              },
              "Synonym":"miami"
           },
           {
              "__metadata":{
                 "uri":"http://blabla2",
                 "type":"type2"
              },
              "Synonym":"florida"
           }
        ]
     }
  }
  </code></pre>
  
  <p>This is the code:</p>
  
  <pre><code>public class Test{        
      @JsonIgnoreProperties(ignoreUnknown = true)
      public static class d {
          public List&lt;Results&gt; results;
          public d() {
              results = new ArrayList&lt;Results&gt;();
          }
          public static class Results {
              public Metadata __metadata;
              public String Synonym;
              public Results() {}
          }
          public static class Metadata {
              public String uri;
              public String type;
              public Metadata() {}
          }
      }
  }
  </code></pre>
  
  <p>With the following mapper:</p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  Test.d readValue = mapper.readValue(jsonString, Test.d.class);
  for (Test.d.Results k : readValue.results) {
      System.out.println("synonym: "+k.Synonym);
  }
  </code></pre>
  
  <p>It gives me no error, just an empty arraylist of results...
  p.s. i have made a lot of changes in between time, sorry for the inconvenience</p>