atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ames...@apache.org
Subject atlas git commit: ATLAS-2033: Modified to produce ugly JSON for Kafka topic messages.
Date Wed, 09 Aug 2017 16:44:41 GMT
Repository: atlas
Updated Branches:
  refs/heads/master fb28760a3 -> e1a142b5a


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


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

Branch: refs/heads/master
Commit: e1a142b5a783f2a3fc083b40c9ad4d6bca3d5dd9
Parents: fb28760
Author: ashutoshm <amestry@hortonworks.com>
Authored: Wed Aug 9 09:44:26 2017 -0700
Committer: ashutoshm <amestry@hortonworks.com>
Committed: Wed Aug 9 09:44:26 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/e1a142b5/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 = {


Mime
View raw message