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

readItemValue() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 2 called by 3

Entity Profile

Dependency Diagram

graph TD
  f5ebc57f_329f_2178_0092_3159e5e912b8["readItemValue()"]
  a4ddef17_9e29_3655_ab30_36b478cdc572["toItemMetadata()"]
  a4ddef17_9e29_3655_ab30_36b478cdc572 -->|calls| f5ebc57f_329f_2178_0092_3159e5e912b8
  5e52a6ea_f8c9_68fe_725b_7743d896981d["toValueHint()"]
  5e52a6ea_f8c9_68fe_725b_7743d896981d -->|calls| f5ebc57f_329f_2178_0092_3159e5e912b8
  de92dd4c_f87e_697f_8cb9_03f586a8b7af["toValueProvider()"]
  de92dd4c_f87e_697f_8cb9_03f586a8b7af -->|calls| f5ebc57f_329f_2178_0092_3159e5e912b8
  ddc6afa8_7405_eac5_8bc7_c1f7781c5af8["length()"]
  f5ebc57f_329f_2178_0092_3159e5e912b8 -->|calls| ddc6afa8_7405_eac5_8bc7_c1f7781c5af8
  93605ca9_8576_4803_faef_67cbcbb051b7["get()"]
  f5ebc57f_329f_2178_0092_3159e5e912b8 -->|calls| 93605ca9_8576_4803_faef_67cbcbb051b7
  style f5ebc57f_329f_2178_0092_3159e5e912b8 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 189–198

	private Object readItemValue(Object value) throws Exception {
		if (value instanceof JSONArray array) {
			Object[] content = new Object[array.length()];
			for (int i = 0; i < array.length(); i++) {
				content[i] = array.get(i);
			}
			return content;
		}
		return value;
	}

Domain

Subdomains

Frequently Asked Questions

What does readItemValue() do?
readItemValue() is a function in the spring-boot codebase.
What does readItemValue() call?
readItemValue() calls 2 function(s): get, length.
What calls readItemValue()?
readItemValue() is called by 3 function(s): toItemMetadata, toValueHint, toValueProvider.

Analyze Your Own Codebase

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

Try Supermodel Free