0

So I have to work with json can have any value for its keys, so I was searching around and found this answer: https://stackoverflow.com/a/7618260

Object o = new Gson().fromJson(json, Object.class);

This seems like the perfect solution, but the only problem is now I have a gson LinkedTreeMap but no idea how to access the values inside. How am I supposed to access the values in this map? Was the answer I viewed earlier wrong? Because he does clearly say gson should support default maps

Community
  • 1
  • 1

0 Answers0