I used the jersey client, read the line (one full json document per line), and with this line I did the following:
val stringResponse = request.request().get(classOf[String]) val jsonDataset = session.createDataset[String](Seq(stringResponse)) // try with case class val parsedResponse = session.read.json(jsonDataset)
..., whereby in the DataFrame you can select the material.
source share