Home / Function/ get() — spring-boot Function Reference

get() — spring-boot Function Reference

Architecture documentation for the get() function in JSONArray.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  cd6b1b70_1c04_b3ac_5a0c_523269138bce["get()"]
  b1bd3ff9_59bf_9afd_633e_bfc287db4cd0["JSONArray()"]
  b1bd3ff9_59bf_9afd_633e_bfc287db4cd0 -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  c84006b6_90fc_34f2_d36b_23f5c525e8bb["opt()"]
  c84006b6_90fc_34f2_d36b_23f5c525e8bb -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  509a4215_c618_9ffe_727c_a83919a3163f["getBoolean()"]
  509a4215_c618_9ffe_727c_a83919a3163f -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  78e4716e_ca08_a6ca_d092_34e3e43547e3["getDouble()"]
  78e4716e_ca08_a6ca_d092_34e3e43547e3 -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  d085e243_6966_5209_6f37_b5de0b53b196["getInt()"]
  d085e243_6966_5209_6f37_b5de0b53b196 -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  0de44533_664b_f2a3_ecf7_d3ef6171fda2["getLong()"]
  0de44533_664b_f2a3_ecf7_d3ef6171fda2 -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  cf5a84db_54b6_dca1_97ca_c65da74ca00e["getString()"]
  cf5a84db_54b6_dca1_97ca_c65da74ca00e -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  28f20266_47ae_6119_1bf0_d5645d564c06["getJSONArray()"]
  28f20266_47ae_6119_1bf0_d5645d564c06 -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  212159c5_c7ba_d0b1_c776_3d5b2a46713f["getJSONObject()"]
  212159c5_c7ba_d0b1_c776_3d5b2a46713f -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  4d3228aa_eb7f_4a54_0699_f6d39f5664cb["join()"]
  4d3228aa_eb7f_4a54_0699_f6d39f5664cb -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  3a026524_8261_0337_f364_a864a5252db7["parseHint()"]
  3a026524_8261_0337_f364_a864a5252db7 -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  ec516ac7_01fd_ef4d_8243_c109ac96f4cd["readItemValue()"]
  ec516ac7_01fd_ef4d_8243_c109ac96f4cd -->|calls| cd6b1b70_1c04_b3ac_5a0c_523269138bce
  style cd6b1b70_1c04_b3ac_5a0c_523269138bce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONArray.java lines 279–290

	public Object get(int index) throws JSONException {
		try {
			Object value = this.values.get(index);
			if (value == null) {
				throw new JSONException("Value at " + index + " is null.");
			}
			return value;
		}
		catch (IndexOutOfBoundsException e) {
			throw new JSONException("Index " + index + " out of range [0.." + this.values.size() + ")");
		}
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does get() do?
get() is a function in the spring-boot codebase.
What calls get()?
get() is called by 12 function(s): JSONArray, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getString, and 4 more.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free