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

toValueHint() — spring-boot Function Reference

Architecture documentation for the toValueHint() function in JsonMarshaller.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  5e52a6ea_f8c9_68fe_725b_7743d896981d["toValueHint()"]
  df10d13e_2f95_92e4_f0a3_a432b7541a24["toItemHint()"]
  df10d13e_2f95_92e4_f0a3_a432b7541a24 -->|calls| 5e52a6ea_f8c9_68fe_725b_7743d896981d
  4c649efe_9b8c_671f_8543_8e5ce14da8b6["checkAllowedKeys()"]
  5e52a6ea_f8c9_68fe_725b_7743d896981d -->|calls| 4c649efe_9b8c_671f_8543_8e5ce14da8b6
  f5ebc57f_329f_2178_0092_3159e5e912b8["readItemValue()"]
  5e52a6ea_f8c9_68fe_725b_7743d896981d -->|calls| f5ebc57f_329f_2178_0092_3159e5e912b8
  93605ca9_8576_4803_faef_67cbcbb051b7["get()"]
  5e52a6ea_f8c9_68fe_725b_7743d896981d -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  97bc1256_f1d9_2ba7_f353_6f84952f431c["optString()"]
  5e52a6ea_f8c9_68fe_725b_7743d896981d -->|calls| 97bc1256_f1d9_2ba7_f353_6f84952f431c
  style 5e52a6ea_f8c9_68fe_725b_7743d896981d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/metadata/JsonMarshaller.java lines 167–172

	private ItemHint.ValueHint toValueHint(JSONObject object, JsonPath path) throws Exception {
		checkAllowedKeys(object, path, "value", "description");
		Object value = readItemValue(object.get("value"));
		String description = object.optString("description", null);
		return new ItemHint.ValueHint(value, description);
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does toValueHint() do?
toValueHint() is a function in the spring-boot codebase.
What does toValueHint() call?
toValueHint() calls 4 function(s): checkAllowedKeys, get, optString, readItemValue.
What calls toValueHint()?
toValueHint() is called by 1 function(s): toItemHint.

Analyze Your Own Codebase

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

Try Supermodel Free