Thursday, December 05, 2013

Creating JSON data in Java


Download JAR file json-rpc-1.0.jar (75 kb)
import org.json.JSONObject;

JSONObject json = new JSONObject();
json.put("city", "Mumbai");
json.put("country", "India");

String output = json.toString();

No comments:

Post a Comment

🚀 Top 21 AI Tools To Boost Your Work in 2025

  In today’s fast-paced digital world, staying productive and competitive means leveraging the best tools available — and AI is leading the ...