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

parseStringItems() — spring-boot Function Reference

Architecture documentation for the parseStringItems() function in InitializrServiceMetadata.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  d4a35d86_cbf4_c372_4de4_20a385040cc0["parseStringItems()"]
  34a3cce4_cf3e_ddb5_4b68_b2f3a09e83d5["parseType()"]
  34a3cce4_cf3e_ddb5_4b68_b2f3a09e83d5 -->|calls| d4a35d86_cbf4_c372_4de4_20a385040cc0
  27fe96cf_6444_1498_1a42_e5d09aa359be["keys()"]
  d4a35d86_cbf4_c372_4de4_20a385040cc0 -->|calls| 27fe96cf_6444_1498_1a42_e5d09aa359be
  23d19be6_c283_52f7_8076_c235fe5e7e22["get()"]
  d4a35d86_cbf4_c372_4de4_20a385040cc0 -->|calls| 23d19be6_c283_52f7_8076_c235fe5e7e22
  e3be2238_5db5_c42d_7dea_fc316e36c89c["put()"]
  d4a35d86_cbf4_c372_4de4_20a385040cc0 -->|calls| e3be2238_5db5_c42d_7dea_fc316e36c89c
  style d4a35d86_cbf4_c372_4de4_20a385040cc0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrServiceMetadata.java lines 216–226

	private Map<String, String> parseStringItems(JSONObject json) throws JSONException {
		Map<String, String> result = new HashMap<>();
		for (Iterator<?> iterator = json.keys(); iterator.hasNext();) {
			String key = (String) iterator.next();
			Object value = json.get(key);
			if (value instanceof String string) {
				result.put(key, string);
			}
		}
		return result;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does parseStringItems() do?
parseStringItems() is a function in the spring-boot codebase.
What does parseStringItems() call?
parseStringItems() calls 3 function(s): get, keys, put.
What calls parseStringItems()?
parseStringItems() is called by 1 function(s): parseType.

Analyze Your Own Codebase

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

Try Supermodel Free