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.
{
"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
}
]
}
Any help will be appreciated. Regards, Rohit