Repository: atlas
Updated Branches:
  refs/heads/0.8-incubating bb4b98b51 -> 38175f1d0


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

(cherry picked from commit e1a142b5a783f2a3fc083b40c9ad4d6bca3d5dd9)


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/38175f1d
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/38175f1d
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/38175f1d

Branch: refs/heads/0.8-incubating
Commit: 38175f1d02caa8ba41b3f6b84aaa74c2de7dd4a9
Parents: bb4b98b
Author: ashutoshm <ames...@hortonworks.com>
Authored: Wed Aug 9 09:44:26 2017 -0700
Committer: ashutoshm <ames...@hortonworks.com>
Committed: Wed Aug 9 10:04:39 2017 -0700

----------------------------------------------------------------------
 .../org/apache/atlas/typesystem/json/InstanceSerialization.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/38175f1d/typesystem/src/main/scala/org/apache/atlas/typesystem/json/InstanceSerialization.scala
----------------------------------------------------------------------
diff --git 
a/typesystem/src/main/scala/org/apache/atlas/typesystem/json/InstanceSerialization.scala
 
b/typesystem/src/main/scala/org/apache/atlas/typesystem/json/InstanceSerialization.scala
index 3354d7c..d4bed75 100755
--- 
a/typesystem/src/main/scala/org/apache/atlas/typesystem/json/InstanceSerialization.scala
+++ 
b/typesystem/src/main/scala/org/apache/atlas/typesystem/json/InstanceSerialization.scala
@@ -352,7 +352,7 @@ object InstanceSerialization {
     implicit val formats = buildFormat(withBigDecimals)
 
     val _s : AnyRef = asScala(value).asInstanceOf[AnyRef]
-    writePretty(_s)
+    write(_s)
   }
 
   def toJson(value: IStruct, withBigDecimals : Boolean = false): String = {

Reply via email to