package com.ibm.spark.kernel.protocol.v5.content

import play.api.libs.json._

case class StreamContent(
   name: String,
   text: String
)


object StreamContent {
  implicit val inspectRequestReads = Json.reads[StreamContent]
  implicit val inspectRequestWrites = Json.writes[StreamContent]
}


package com.ibm.spark.kernel.protocol.v5.content

import play.api.libs.json._

case class StreamContent(
   name: String,
   data: String
   )


object StreamContent {
  implicit val inspectRequestReads = Json.reads[StreamContent]
  implicit val inspectRequestWrites = Json.writes[StreamContent]
}


--- 
+++ 
@@ -4,8 +4,8 @@
 
 case class StreamContent(
    name: String,
-   data: String
-   )
+   text: String
+)
 
 
 object StreamContent {
Change stream protocol message field from "data" to "text"
