/ Published in: Java
This snippet of code, illustrates how to put, remove or accumulate values in a JSONObject object, use of JSONWriter for putting key/value pairs in "quick and convenient way" as stated by official documentation, and more practical uses for org.json beginners
URL: http://fivesnippets.blogspot.com/2014/09/jsonobject-jsonwriter-and-jsontokener.html