title: Parsing Json File using Jackson
body: <pre><code>{
     "TestSuite":{
        "TestSuiteInfo":{
           "-description":"parse"
        },
        "TestCase":[
           {
              "TestCaseData":{
                 "-sequence":"sequential",
                 "-testNumber":"2",
                 "-testCaseFile":"testcase\\Web\\Ab.xml"
              }
           },
           {
              "TestCaseData":{
                 "-sequence":"sequential",
                 "-testNumber":"3",
                 "-testCaseFile":"testcase\\Web\\BC.xml"
              }
           }
        ]
     }
  }
  </code></pre>
  
  <p>My Pojos are:</p>
  
  <pre><code>public class TestSuite {    
  
      private TestSuiteInfo testSuiteInfo;
      private TestCase listOfTestCases;
  
      public TestSuiteInfo getTestSuiteInfo() {   
          return testSuiteInfo;
      }
  
      public void setTestSuiteInfo(TestSuiteInfo testSuiteInfo) {
          this.testSuiteInfo = testSuiteInfo;
      }
  
      public TestCase getListOfTestCases() {
          return listOfTestCases;
      }
  
      public void setListOfTestCases(TestCase listOfTestCases) {
          this.listOfTestCases = listOfTestCases;
      }
  }
  
  
  public class TestSuiteInfo {
  
      private String description;
  
      public String getDescription() {
          return description;
      }
      public void setDescription(String description) {
          this.description = description;
      }
  }
  
  
  import java.util.Iterator;
  import java.util.List;
  
  public class TestCase {
  
      private List&lt;TestCaseData&gt; testCaseData;
  
      public List&lt;TestCaseData&gt; getTestCaseData() {
          return testCaseData;
      }
  
      public void setTestCaseData(List&lt;TestCaseData&gt; testCaseData) {
          this.testCaseData = testCaseData;
      }
  }
  
  
  public class TestCaseData {
  
      private String sequence;
      private int testNumber;
      private String testCaseFile;
  
      public String getSequence() {   
          return sequence;
      }
  
      public void setSequence(String sequence) {
          this.sequence = sequence;
      }
  
      public int getTestNumber() {
          return testNumber;
      }
  
      public void setTestNumber(int testNumber) {
          this.testNumber = testNumber;
      }
  
      public String getTestCaseFile() {
          return testCaseFile;
      }
  
      public void setTestCaseFile(String testCaseFile) {
          this.testCaseFile = testCaseFile;
      }
  }
  </code></pre>
  
  <p>I haven't use Jackson before, will really appreciate if anyone could help me in parsing the file and getting the objects.
  I am trying to parse this from past two days, but didnt got any success</p>