Skip to main content

Timeline for Flattening JSON string in JAVA

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
May 8, 2019 at 14:32 history edited Srinivasan Sekar CC BY-SA 4.0
edited body
May 8, 2019 at 14:28 vote accept Dekks
May 8, 2019 at 14:28 comment added Dekks That absolutely did the job! Thank you! Had to change the second loop to increment J rather than I to stop it infinite looping, but as soon as I did that it worked perfectly. I sort of understand your code but will do some more reading about object.put and property.get (and do more tutorials).
May 8, 2019 at 14:05 history edited Srinivasan Sekar CC BY-SA 4.0
added 12 characters in body
May 8, 2019 at 14:01 comment added Dekks I get the following error: java:34: error: no suitable method found for put(Object,Object) object.put(property.get("Key"),property.get("Value"));
May 8, 2019 at 12:26 history edited Srinivasan Sekar CC BY-SA 4.0
added 6 characters in body
May 8, 2019 at 12:20 history edited Srinivasan Sekar CC BY-SA 4.0
added 4 characters in body
May 8, 2019 at 12:12 history edited Srinivasan Sekar CC BY-SA 4.0
added 800 characters in body
May 8, 2019 at 12:02 history edited Srinivasan Sekar CC BY-SA 4.0
deleted 3 characters in body
May 8, 2019 at 11:53 history answered Srinivasan Sekar CC BY-SA 4.0