Commit e1a142b5 by ashutoshm

ATLAS-2033: Modified to produce ugly JSON for Kafka topic messages.

parent fb28760a
...@@ -352,7 +352,7 @@ object InstanceSerialization { ...@@ -352,7 +352,7 @@ object InstanceSerialization {
implicit val formats = buildFormat(withBigDecimals) implicit val formats = buildFormat(withBigDecimals)
val _s : AnyRef = asScala(value).asInstanceOf[AnyRef] val _s : AnyRef = asScala(value).asInstanceOf[AnyRef]
writePretty(_s) write(_s)
} }
def toJson(value: IStruct, withBigDecimals : Boolean = false): String = { def toJson(value: IStruct, withBigDecimals : Boolean = false): String = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment