title: How to Parse Json response from REST webserivce using java
body: <p>I have REST webservice which gives response in Json format, I have locally assigned the Json response in a variable. But now I want to know if we can parse and how. Below is a response from webservice.</p>
  
  <pre><code>{
    "actionresult": "successful",
    "licenceDetail": [
      {
        "licence": "SA123",
        "type": "SZ Abalone",
        "pendingtrip": [
  
        ],
        "Vessel": [
          {
            "name": "Red Fire",
            "number": "SA123"
          }
        ],
        "defaultvalue": {
          "LandingPort": "Anxious Bay",
          "DepartPort": "Acramans Creek",
          "Vessel": "SA123",
          "AreaFishing": "SA"
        }
      },
      {
        "licence": "K01",
        "type": "Blue Crab",
        "pendingtrip": [
  
        ],
        "Vessel": [
          {
            "name": "Abrolhos Spirit",
            "number": "K01"
          }
        ],
        "defaultvalue": null
      }
    ]
  }
  </code></pre>
  
  <p>Any help will be appreciated.
  Regards,
  Rohit</p>