From 46e454db3a1c453f085de81051480a2349edd53a Mon Sep 17 00:00:00 2001 From: extcbrijesh <64933664+extcbrijesh@users.noreply.github.com> Date: Sun, 31 May 2020 13:35:45 -0700 Subject: [PATCH] Arrange input and output sample within the file --- flatten-dictionary.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/flatten-dictionary.java b/flatten-dictionary.java index 4e81b04..9108826 100644 --- a/flatten-dictionary.java +++ b/flatten-dictionary.java @@ -22,13 +22,13 @@ public static void main (String[] args) throws java.lang.Exception * { 'Key1': '1', 'Key2': { - 'a' : '2', - 'b' : '3', - 'c' : { - 'd' : '3', - 'e' : '1' - } - } + 'a' : '2', + 'b' : '3', + 'c' : { + 'd' : '3', + 'e' : '1' + } + } } Output should look like this: @@ -38,7 +38,7 @@ public static void main (String[] args) throws java.lang.Exception 'Key2.b' : '3', 'Key2.c.d' : '3', 'Key2.c.e' : '1' - } + } **/ }