Thursday, June 13, 2013

Java to Json to JavaScript Object

Gson gson = new Gson();

String jsonString= gson.toJson(JavaObject);

javaScriptObject = JSON.parse(jsonString);

0 comments:

Post a Comment