MCPcopy Index your code
hub / github.com/nICEnnnnnnnLee/BilibiliDown / getJSONObject

Method getJSONObject

src/org/json/JSONArray.java:415–421  ·  view source on GitHub ↗

Get the JSONObject associated with an index. @param index subscript @return A JSONObject value. @throws JSONException If there is no value for the index or if the value is not a JSONObject

(int index)

Source from the content-addressed store, hash-verified

413 * JSONObject
414 */
415 public JSONObject getJSONObject(int index) throws JSONException {
416 Object object = this.get(index);
417 if (object instanceof JSONObject) {
418 return (JSONObject) object;
419 }
420 throw new JSONException("JSONArray[" + index + "] is not a JSONObject.");
421 }
422
423 /**
424 * Get the long value associated with an index.

Callers 15

getSSDetailMethod · 0.95
resultMethod · 0.95
getAVDetailMethod · 0.95
getVideoSubtitleLinkMethod · 0.95
getVideoLinkByFormatMethod · 0.95
collectStoryListMethod · 0.95
parseType1Method · 0.95
parseType2Method · 0.95
queryMethod · 0.95
EpIdToBvIdMethod · 0.95
getCVDetailMethod · 0.95
resultMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected