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
  c4740bf8_facd_b1a4_23c8_ac6499f14a88["get()"]
  b713460a_be07_ce76_8fdf_2b23dbd040ca["JSONArray()"]
  b713460a_be07_ce76_8fdf_2b23dbd040ca -->|calls| c4740bf8_facd_b1a4_23c8_ac6499f14a88
  214607ee_e3cb_2924_a164_78c801124e07["opt()"]
  214607ee_e3cb_2924_a164_78c801124e07 -->|calls| c4740bf8_facd_b1a4_23c8_ac6499f14a88
  4514827e_09e7_95d7_ac8d_c09b055446f0["getBoolean()"]
  4514827e_09e7_95d7_ac8d_c09b055446f0 -->|calls| c4740bf8_facd_b1a4_23c8_ac6499f14a88
  3d018dce_6826_c9da_d4b3_e8bf9de9ec6a["getDouble()"]
  3d018dce_6826_c9da_d4b3_e8bf9de9ec6a -->|calls| c4740bf8_facd_b1a4_23c8_ac6499f14a88
  d5751c9b_637f_3606_0c9f_b63206fc751d["getInt()"]
  d5751c9b_637f_3606_0c9f_b63206fc751d -->|calls| c4740bf8_facd_b1a4_23c8_ac6499f14a88
  74631e5f_7a9e_755b_e393_7842f00ee917["getLong()"]
  74631e5f_7a9e_755b_e393_7842f00ee917 -->|calls| c4740bf8_facd_b1a4_23c8_ac6499f14a88
  dfc224e7_e005_48ca_757d_107297d9c5bb["getString()"]
  dfc224e7_e005_48ca_757d_107297d9c5bb -->|calls| c4740bf8_facd_b1a4_23c8_ac6499f14a88
  fe31f8c3_14d1_6643_9c60_0f1a5d0a210c["getJSONArray()"]
  fe31f8c3_14d1_6643_9c60_0f1a5d0a210c -->|calls| c4740bf8_facd_b1a4_23c8_ac6499f14a88
  3128ccd0_28ac_1273_dfe1_db2bf2f8d7d9["getJSONObject()"]
  3128ccd0_28ac_1273_dfe1_db2bf2f8d7d9 -->|calls| c4740bf8_facd_b1a4_23c8_ac6499f14a88
  1d43bc9d_07f5_c7c4_97a5_7775988833c5["join()"]
  1d43bc9d_07f5_c7c4_97a5_7775988833c5 -->|calls| c4740bf8_facd_b1a4_23c8_ac6499f14a88
  style c4740bf8_facd_b1a4_23c8_ac6499f14a88 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/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 10 function(s): JSONArray, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getString, and 2 more.

Analyze Your Own Codebase

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

Try Supermodel Free