From 20215ff4bec7281babdab3255d80d587839476df Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 5 Sep 2018 11:26:53 +0530 Subject: OCLIP: Fix json print format When value is null, ignore the result attribute Issue-ID: VNFSDK-304 Change-Id: Ifaeeb8f47fd7f8a7a1a6798b7dc7b3972a6d4abd Signed-off-by: Kanagaraj Manickam k00365106 --- .../src/main/java/org/onap/cli/fw/output/print/OnapCommandPrint.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/src/main/java') diff --git a/framework/src/main/java/org/onap/cli/fw/output/print/OnapCommandPrint.java b/framework/src/main/java/org/onap/cli/fw/output/print/OnapCommandPrint.java index fd1ddbaf..614ef5d1 100644 --- a/framework/src/main/java/org/onap/cli/fw/output/print/OnapCommandPrint.java +++ b/framework/src/main/java/org/onap/cli/fw/output/print/OnapCommandPrint.java @@ -248,7 +248,8 @@ public class OnapCommandPrint { JSONObject rowO = new JSONObject(); for (int j=0; j