Answer the question
In order to leave comments, you need to log in
What is the correct way to work with JSON in JAVA?
Tell me if there are more convenient JAVA modules for working with JSON than json-simple.
I want the convenience of a dynamic language ( php , perl )
where JSON is translated into an Associative Array.
Or is it worth writing a json-simple wrapper?
Answer the question
In order to leave comments, you need to log in
gson from google, it couldn't be easier)
google-gson
Gson gson = new GsonBuilder().create();
String json = gson.toJson(someObject);
SomeObject newso = gson.fromJson(json, SomeObject.class);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question