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
  93605ca9_8576_4803_faef_67cbcbb051b7["get()"]
  6d05120f_bafe_634b_9167_dd868a05e8a2["JSONArray()"]
  6d05120f_bafe_634b_9167_dd868a05e8a2 -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  17baeb06_fa82_f100_89b4_a0074d1e868e["opt()"]
  17baeb06_fa82_f100_89b4_a0074d1e868e -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  74d383ad_89d7_24ea_3c71_191457a0ef17["getBoolean()"]
  74d383ad_89d7_24ea_3c71_191457a0ef17 -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  6f995e9c_4375_bce7_951f_a21c9ce3b8d4["getDouble()"]
  6f995e9c_4375_bce7_951f_a21c9ce3b8d4 -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  98745b0f_7c34_2401_664b_87cae9c94533["getInt()"]
  98745b0f_7c34_2401_664b_87cae9c94533 -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  c0b9a926_3741_2de1_7a80_fe3e993d63c9["getLong()"]
  c0b9a926_3741_2de1_7a80_fe3e993d63c9 -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  4e226203_aa51_b750_11c0_035958589660["getString()"]
  4e226203_aa51_b750_11c0_035958589660 -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  f23e05ea_c375_d922_dcc6_da3397b3460d["getJSONArray()"]
  f23e05ea_c375_d922_dcc6_da3397b3460d -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  3c1aaf61_0d8e_d17e_1b04_ff03559be459["getJSONObject()"]
  3c1aaf61_0d8e_d17e_1b04_ff03559be459 -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  95180591_fcb2_e6da_22dc_ef48b50d3a5c["join()"]
  95180591_fcb2_e6da_22dc_ef48b50d3a5c -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  3b7d3a2a_6256_6d7b_8c1a_41f80f9b12aa["extractItemValue()"]
  3b7d3a2a_6256_6d7b_8c1a_41f80f9b12aa -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  30292bfa_e8ed_1caa_f042_78733422492f["read()"]
  30292bfa_e8ed_1caa_f042_78733422492f -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  df10d13e_2f95_92e4_f0a3_a432b7541a24["toItemHint()"]
  df10d13e_2f95_92e4_f0a3_a432b7541a24 -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  5e52a6ea_f8c9_68fe_725b_7743d896981d["toValueHint()"]
  5e52a6ea_f8c9_68fe_725b_7743d896981d -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  style 93605ca9_8576_4803_faef_67cbcbb051b7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/json-shade/java/org/springframework/boot/configurationprocessor/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

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free