How do i parse json object and json array in android? : <p>I am developing an app using json api and want to implement following format api into my app. How do i implement this in my project using android studio 2.3? </p>

<pre><code>{
    "getdetailsasanas": [
        {
            "asanaid": 1,
            "asananame": "Half easy gas release pose",
            "duration": 1,
            "imageurl": "http://www.yogapoint.com/iOS/images/half-easy-gas-release-pose.jpg",
            "imageversion": 2,
            "audiourl": "http://www.yogapoint.com/iOS/audio/half-easy-gas-release-pose.mp3",
            "audioversion": 1,
            "videourl": "NULL",
            "videoversion": 0,
            "StepsForAsana": [
                {
                    "stepnumber": 1,
                    "stepdesc": "Step 1",
                    "stepimg": "http://www.yogapoint.com/iOS/images/asana-step/half-easy-gas-release-pose-step1.jpg",
                    "stepimgeversion": 0,
                    "imgethumbversion": 1,
                    "imgethumburl": "http://www.yogapoint.com/iOS/images/asana-step/half-easy-gas-release-pose-step1-tb.jpg"
                },
                {
                    "stepnumber": 2,
                    "stepdesc": "Step 2",
                    "stepimg": "http://www.yogapoint.com/iOS/images/asana-step/half-easy-gas-release-pose-step2.jpg",
                    "stepimgeversion": 0,
                    "imgethumbversion": 1,
                    "imgethumburl": "http://www.yogapoint.com/iOS/images/asana-step/half-easy-gas-release-pose-step2-tb.jpg"
                }
            ]
        }
    ]
}
</code></pre>
