Uses of Class
org.json.JSONObject

Packages that use JSONObject
com.brightcove.proserve.mediaapi.wrapper   
com.brightcove.proserve.mediaapi.wrapper.apiobjects   
com.brightcove.proserve.mediaapi.wrapper.exceptions   
org.json   
 

Uses of JSONObject in com.brightcove.proserve.mediaapi.wrapper
 

Methods in com.brightcove.proserve.mediaapi.wrapper that return JSONObject
 JSONObject WriteApi.DeletePlaylist(java.lang.String writeToken, java.lang.Long playlistId, java.lang.String referenceId, java.lang.Boolean cascade)
          Deletes a playlist, specified by playlist id.
 JSONObject WriteApi.DeleteVideo(java.lang.String writeToken, java.lang.Long videoId, java.lang.String referenceId, java.lang.Boolean cascade, java.lang.Boolean deleteShares)
          Deletes a video.
 

Uses of JSONObject in com.brightcove.proserve.mediaapi.wrapper.apiobjects
 

Methods in com.brightcove.proserve.mediaapi.wrapper.apiobjects that return JSONObject
 JSONObject Video.toJson()
          Converts the video into a JSON object suitable for use with the Media API
 JSONObject Rendition.toJson()
          Converts the rendition into a JSON object suitable for use with the Media API
 JSONObject Playlist.toJson()
          Converts the video into a JSON object suitable for use with the Media API
 JSONObject Image.toJson()
          Converts the image into a JSON object suitable for use with the Media API
 JSONObject CuePoint.toJson()
          Converts the cue point into a JSON object suitable for use with the Media API
 

Constructors in com.brightcove.proserve.mediaapi.wrapper.apiobjects with parameters of type JSONObject
Image(JSONObject jsonObj)
          Constructor using JSON object.
Playlist(JSONObject jsonObj)
          Constructor using JSON object.
Playlists(JSONObject jsonObj)
           
Video(JSONObject jsonObj)
          Constructor using JSON object.
Videos(JSONObject jsonObj)
           
 

Uses of JSONObject in com.brightcove.proserve.mediaapi.wrapper.exceptions
 

Methods in com.brightcove.proserve.mediaapi.wrapper.exceptions that return JSONObject
 JSONObject MediaApiException.getJsonObject()
           
 

Methods in com.brightcove.proserve.mediaapi.wrapper.exceptions with parameters of type JSONObject
 void MediaApiException.setJsonObject(JSONObject jsonObject)
           
 

Constructors in com.brightcove.proserve.mediaapi.wrapper.exceptions with parameters of type JSONObject
MediaApiException(JSONObject jsonObject)
           
 

Uses of JSONObject in org.json
 

Methods in org.json that return JSONObject
 JSONObject JSONObject.accumulate(java.lang.String key, java.lang.Object value)
          Accumulate values under a key.
 JSONObject JSONObject.append(java.lang.String key, java.lang.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(java.lang.String key)
          Get the JSONObject value associated with a key.
 JSONObject JSONArray.optJSONObject(int index)
          Get the optional JSONObject associated with an index.
 JSONObject JSONObject.optJSONObject(java.lang.String key)
          Get an optional JSONObject associated with a key.
 JSONObject JSONObject.put(java.lang.String key, boolean value)
          Put a key/boolean pair in the JSONObject.
 JSONObject JSONObject.put(java.lang.String key, java.util.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(java.lang.String key, double value)
          Put a key/double pair in the JSONObject.
 JSONObject JSONObject.put(java.lang.String key, int value)
          Put a key/int pair in the JSONObject.
 JSONObject JSONObject.put(java.lang.String key, long value)
          Put a key/long pair in the JSONObject.
 JSONObject JSONObject.put(java.lang.String key, java.util.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(java.lang.String key, java.lang.Object value)
          Put a key/value pair in the JSONObject.
 JSONObject JSONObject.putOnce(java.lang.String key, java.lang.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(java.lang.String key, java.lang.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(java.lang.String string)
          Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
static JSONObject JSONML.toJSONObject(java.lang.String string)
          Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
static JSONObject HTTP.toJSONObject(java.lang.String string)
          Convert an HTTP header string into a JSONObject.
static JSONObject CookieList.toJSONObject(java.lang.String string)
          Convert a cookie list into a JSONObject.
static JSONObject Cookie.toJSONObject(java.lang.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 java.lang.String[] JSONObject.getNames(JSONObject jo)
          Get an array of field names from a JSONObject.
static java.lang.String JSONML.toString(JSONObject jo)
          Reverse the JSONML transformation, making an XML text from a JSONObject.
static java.lang.String HTTP.toString(JSONObject o)
          Convert a JSONObject into an HTTP header.
static java.lang.String CookieList.toString(JSONObject o)
          Convert a JSONObject into a cookie list.
static java.lang.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, java.lang.String[] names)
          Construct a JSONObject from a subset of another JSONObject.