Parsing Http Response (JSON Format) using Apex
In Order to Parse JSON Response in Apex one must use JSONParse Class
1. Initiate JSONParser as parser
2. Pass res.getBody() or JSON body as parameter to Json.CreateParser()
3. And parser.nextToken() is responsible for getting next Token/node of JSON
body
here is example of Apex Class