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

parseItem() — spring-boot Function Reference

Architecture documentation for the parseItem() function in JsonReader.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 5 called by 1

Entity Profile

Dependency Diagram

graph TD
  f0a7a167_d269_1fd7_866c_891752cd681d["parseItem()"]
  5cbde88c_fc16_4fe0_ed82_2951d88ac431["parseAllItems()"]
  5cbde88c_fc16_4fe0_ed82_2951d88ac431 -->|calls| f0a7a167_d269_1fd7_866c_891752cd681d
  ec516ac7_01fd_ef4d_8243_c109ac96f4cd["readItemValue()"]
  f0a7a167_d269_1fd7_866c_891752cd681d -->|calls| ec516ac7_01fd_ef4d_8243_c109ac96f4cd
  fc6393e9_a413_0a32_e3a3_934e73e90af5["parseDeprecation()"]
  f0a7a167_d269_1fd7_866c_891752cd681d -->|calls| fc6393e9_a413_0a32_e3a3_934e73e90af5
  444d149e_1c4f_8942_92f4_1d92b6f99bc7["getString()"]
  f0a7a167_d269_1fd7_866c_891752cd681d -->|calls| 444d149e_1c4f_8942_92f4_1d92b6f99bc7
  6a9880f7_c232_07f2_e6f6_6f055d14f6e4["optString()"]
  f0a7a167_d269_1fd7_866c_891752cd681d -->|calls| 6a9880f7_c232_07f2_e6f6_6f055d14f6e4
  3f311302_743c_0448_919e_30cb3dc18736["opt()"]
  f0a7a167_d269_1fd7_866c_891752cd681d -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  style f0a7a167_d269_1fd7_866c_891752cd681d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/JsonReader.java lines 112–124

	private ConfigurationMetadataItem parseItem(JSONObject json) throws Exception {
		ConfigurationMetadataItem item = new ConfigurationMetadataItem();
		item.setId(json.getString("name"));
		item.setType(json.optString("type", null));
		String description = json.optString("description", null);
		item.setDescription(description);
		item.setShortDescription(this.sentenceExtractor.getFirstSentence(description));
		item.setDefaultValue(readItemValue(json.opt("defaultValue")));
		item.setDeprecation(parseDeprecation(json));
		item.setSourceType(json.optString("sourceType", null));
		item.setSourceMethod(json.optString("sourceMethod", null));
		return item;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does parseItem() do?
parseItem() is a function in the spring-boot codebase.
What does parseItem() call?
parseItem() calls 5 function(s): getString, opt, optString, parseDeprecation, readItemValue.
What calls parseItem()?
parseItem() is called by 1 function(s): parseAllItems.

Analyze Your Own Codebase

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

Try Supermodel Free