Uses of Class
org.json.JSONObject

Packages that use JSONObject
com.basho.riak.client Provides the top-level IRiakClient and IRiakObject classes required to store data in Riak, start here. 
com.basho.riak.client.http The legacy, low-level HTTP REST RiakClient and associated classes, consider using the high-level IRiakClient 
com.basho.riak.client.http.mapreduce The legacy, low-level HTTP REST client map reduce functions, consider using the high-level IRiakClient 
com.basho.riak.client.http.request Riak request classes for the legacy HTTP REST client, consider using the high-level IRiakClient 
com.basho.riak.client.http.util Supporting utility classes for the legacy HTTP REST client, consider using the high-level IRiakClient 
com.basho.riak.client.mapreduce Deprecated please see com.basho.riak.http.client.mapreduce 
com.basho.riak.client.request Deprecated please see com.basho.riak.http.client.request 
com.basho.riak.client.util General utility classes used by the API, mainly deprecated classes that have been moved to com.basho.riak.client.http.util. 
com.basho.riak.pbc The legacy, low-level Protocol Buffers RiakClient and associated classes, consider using the high-level IRiakClient 
com.basho.riak.pbc.mapreduce The legacy, low-level Protocol Buffers query classes for Map Reduce. 
org.json Copied verbatim from Doug Crockford's github JSON java project, soon to be removed. 
 

Uses of JSONObject in com.basho.riak.client
 

Methods in com.basho.riak.client that return JSONObject
 JSONObject RiakBucketInfo.getSchema()
          Deprecated. Returns the bucket's properties.
 

Constructors in com.basho.riak.client with parameters of type JSONObject
RiakBucketInfo(JSONObject schema, Collection<String> keys)
          Deprecated. Construct a bucket info using the JSON data from a listBucket() response.
 

Uses of JSONObject in com.basho.riak.client.http
 

Methods in com.basho.riak.client.http that return JSONObject
 JSONObject RiakBucketInfo.getSchema()
          Returns the bucket's properties.
 

Constructors in com.basho.riak.client.http with parameters of type JSONObject
RiakBucketInfo(JSONObject schema, Collection<String> keys)
          Construct a bucket info using the JSON data from a listBucket() response.
 

Uses of JSONObject in com.basho.riak.client.http.mapreduce
 

Methods in com.basho.riak.client.http.mapreduce that return JSONObject
 JSONObject MapReduceFunction.toJson()
           
 JSONObject LinkFunction.toJson()
           
 JSONObject JavascriptFunction.toJson()
          Converts the function definition to JSON
 JSONObject ErlangFunction.toJson()
          Converts the function definition to JSON
 

Uses of JSONObject in com.basho.riak.client.http.request
 

Methods in com.basho.riak.client.http.request that return JSONObject
 JSONObject MapReduceBuilder.toJSON()
          Builds the JSON representation of a map/reduce job
 

Uses of JSONObject in com.basho.riak.client.http.util
 

Methods in com.basho.riak.client.http.util with parameters of type JSONObject
static Map<String,String> ClientUtils.jsonObjectAsMap(JSONObject json)
          Convert a JSONObject to a map
 HttpResponse ClientHelper.setBucketSchema(String bucket, JSONObject schema, RequestMeta meta)
          See RiakClient.setBucketSchema(String, com.basho.riak.client.http.RiakBucketInfo, RequestMeta)
 

Uses of JSONObject in com.basho.riak.client.mapreduce
 

Methods in com.basho.riak.client.mapreduce that return JSONObject
 JSONObject MapReduceFunction.toJson()
          Deprecated.  
 JSONObject LinkFunction.toJson()
          Deprecated.  
 JSONObject JavascriptFunction.toJson()
          Deprecated. Converts the function definition to JSON
 JSONObject ErlangFunction.toJson()
          Deprecated. Converts the function definition to JSON
 

Uses of JSONObject in com.basho.riak.client.request
 

Methods in com.basho.riak.client.request that return JSONObject
 JSONObject MapReduceBuilder.toJSON()
          Deprecated. Builds the JSON representation of a map/reduce job
 

Uses of JSONObject in com.basho.riak.client.util
 

Methods in com.basho.riak.client.util with parameters of type JSONObject
static Map<String,String> ClientUtils.jsonObjectAsMap(JSONObject json)
          Deprecated. Convert a JSONObject to a map
 HttpResponse ClientHelper.setBucketSchema(String bucket, JSONObject schema, RequestMeta meta)
          Deprecated. See RiakClient#setBucketSchema(String, com.basho.riak.client.http.RiakBucketInfo, RequestMeta)
 

Uses of JSONObject in com.basho.riak.pbc
 

Methods in com.basho.riak.pbc with parameters of type JSONObject
 MapReduceResponseSource RiakClient.mapReduce(JSONObject obj)
           
 

Uses of JSONObject in com.basho.riak.pbc.mapreduce
 

Methods in com.basho.riak.pbc.mapreduce that return JSONObject
 JSONObject MapReduceFunction.toJson()
           
 JSONObject LinkFunction.toJson()
           
 JSONObject JavascriptFunction.toJson()
          Converts the function definition to JSON
 JSONObject ErlangFunction.toJson()
          Converts the function definition to JSON
 JSONObject MapReduceBuilder.toJSON()
          Builds the JSON representation of a map/reduce job
 

Uses of JSONObject in org.json
 

Methods in org.json that return JSONObject
 JSONObject JSONObject.accumulate(String key, Object value)
          Accumulate values under a key.
 JSONObject JSONObject.append(String key, Object value)
          Append values to the array under a key.
 JSONObject JSONArray.getJSONObject(int index)
          Get the JSONObject associated with an index.
 JSONObject JSONObject.getJSONObject(String key)
          Get the JSONObject value associated with a key.
 JSONObject JSONObject.increment(String key)
          Increment a property of a JSONObject.
 JSONObject JSONArray.optJSONObject(int index)
          Get the optional JSONObject associated with an index.
 JSONObject JSONObject.optJSONObject(String key)
          Get an optional JSONObject associated with a key.
 JSONObject JSONObject.put(String key, boolean value)
          Put a key/boolean pair in the JSONObject.
 JSONObject JSONObject.put(String key, Collection value)
          Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
 JSONObject JSONObject.put(String key, double value)
          Put a key/double pair in the JSONObject.
 JSONObject JSONObject.put(String key, int value)
          Put a key/int pair in the JSONObject.
 JSONObject JSONObject.put(String key, long value)
          Put a key/long pair in the JSONObject.
 JSONObject JSONObject.put(String key, Map value)
          Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
 JSONObject JSONObject.put(String key, Object value)
          Put a key/value pair in the JSONObject.
 JSONObject JSONObject.putOnce(String key, Object value)
          Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name.
 JSONObject JSONObject.putOpt(String key, Object value)
          Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.
static JSONObject CDL.rowToJSONObject(JSONArray names, JSONTokener x)
          Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.
 JSONObject JSONArray.toJSONObject(JSONArray names)
          Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
static JSONObject XML.toJSONObject(String string)
          Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
static JSONObject JSONML.toJSONObject(String string)
          Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
static JSONObject HTTP.toJSONObject(String string)
          Convert an HTTP header string into a JSONObject.
static JSONObject CookieList.toJSONObject(String string)
          Convert a cookie list into a JSONObject.
static JSONObject Cookie.toJSONObject(String string)
          Convert a cookie specification string into a JSONObject.
static JSONObject JSONML.toJSONObject(XMLTokener x)
          Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
 

Methods in org.json with parameters of type JSONObject
static String[] JSONObject.getNames(JSONObject jo)
          Get an array of field names from a JSONObject.
static String JSONML.toString(JSONObject jo)
          Reverse the JSONML transformation, making an XML text from a JSONObject.
static String HTTP.toString(JSONObject o)
          Convert a JSONObject into an HTTP header.
static String CookieList.toString(JSONObject o)
          Convert a JSONObject into a cookie list.
static String Cookie.toString(JSONObject o)
          Convert a JSONObject into a cookie specification string.
 

Constructors in org.json with parameters of type JSONObject
JSONObject(JSONObject jo, String[] names)
          Construct a JSONObject from a subset of another JSONObject.
 



Copyright © 2012. All Rights Reserved.