Open kalmanb opened 8 years ago
From @kalmanb on April 7, 2016 2:22
@mai00cmi: "Can we change the Play json generator to use OWrites instead of Writes for case classes? The advantage is that we don’t have to do
OWrites
Writes
Json.toJson(entity).as[JsObject] For example the KafkaWrapper payload is always expected to be JsObject "
Json.toJson(entity).as[JsObject]
KafkaWrapper
JsObject
Copied from original issue: movio/apidoc-generator-old#27
This issue was moved to movio/movio-apidoc-generator#1
From @kalmanb on April 7, 2016 2:22
@mai00cmi: "Can we change the Play json generator to use
OWrites
instead ofWrites
for case classes? The advantage is that we don’t have to doJson.toJson(entity).as[JsObject]
For example theKafkaWrapper
payload is always expected to beJsObject
"Copied from original issue: movio/apidoc-generator-old#27