How do I capture the response body of a Get call and print it in a variable

Hi,
I am new to gatling can anyone help me to extract the response of the get request and print it in a variable.
get response will be a json.

package io.gatling.highcharts

import scala.concurrent.duration._

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._

class HDASParsing extends Simulation {

 val httpProtocol = http
  .baseURL("[http://10.40.44.190:8088](http://10.40.44.190:8088)")
  .inferHtmlResources()
  .acceptHeader("*/*")
  .acceptEncodingHeader("gzip, deflate, sdch")
  .acceptLanguageHeader("en-US,en;q=0.8")
  .userAgentHeader("Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36")

  val uri1 = "[http://10.40.44.167:8088](http://10.40.44.167:8088)"
 val scn = scenario("HDASParsing")
  .exec(http("HdasRequest")
  .get("/s_Assign_Unassign_DeviceDetails.txt?get")  )

 setUp(scn.inject(atOnceUsers(1))).protocols(httpProtocol)
}

Thanks in advance
dHARVESH

you should use something like this :

.check(jsonPath("$").ofType[String].saveAs(“responseAsJSON”))