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

How to build an AI Agent

  Agents are the most valuable skill in AI and product right now. So why not build one? Here's how: π’π­πžπ© 𝟏: πƒπžπŸπ’π§πž 𝐚 𝐬𝐲𝐬...