private void putString(JSONObject obj, String key, String val) {

        obj.put(key, new JSONString(val));
    }
private void putString ( JSONObject obj , String key , String val ) { obj . put ( key , new JSONString ( val ) ) ; }
Adds a String value to the JSON object.<p>

@param obj the object to manipulate
@param key the key
@param val the value