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

Tha ๐—”๐—ฃ๐—œ Design ๐—›๐—ฎ๐—ป๐—ฑ๐—ฏ๐—ผ๐—ผ๐—ธ

 Here is the ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ ๐—”๐—ฃ๐—œ ๐—›๐—ฎ๐—ป๐—ฑ๐—ฏ๐—ผ๐—ผ๐—ธ broken down by architecture: ๐Ÿญ. ๐—ง๐—ต๐—ฒ "๐—ฅ๐—ฒ๐—พ๐˜‚๐—ฒ๐˜€๐˜-๐—ฅ๐—ฒ๐˜€๐—ฝ๐—ผ๐—ป๐˜€๐—ฒ" ๐—ง๐—ฟ๐—ถ๐—ผ: ...