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' - } + } **/ }