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

toJsonObject() — spring-boot Function Reference

Architecture documentation for the toJsonObject() function in JsonConverter.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 7 called by 2

Entity Profile

Dependency Diagram

graph TD
  d8746053_75bd_ced7_f66d_addc34fad441["toJsonObject()"]
  591a086f_dd87_76ce_d209_74e070adc8db["toJsonArray()"]
  591a086f_dd87_76ce_d209_74e070adc8db -->|calls| d8746053_75bd_ced7_f66d_addc34fad441
  e55e0feb_0bc2_ad64_8672_92287c61fedb["ignoreToJsonArray()"]
  e55e0feb_0bc2_ad64_8672_92287c61fedb -->|calls| d8746053_75bd_ced7_f66d_addc34fad441
  135fcb76_5f4d_6bcf_4ec3_690e10d8d879["JSONObject()"]
  d8746053_75bd_ced7_f66d_addc34fad441 -->|calls| 135fcb76_5f4d_6bcf_4ec3_690e10d8d879
  e55e0feb_0bc2_ad64_8672_92287c61fedb["ignoreToJsonArray()"]
  d8746053_75bd_ced7_f66d_addc34fad441 -->|calls| e55e0feb_0bc2_ad64_8672_92287c61fedb
  c3e3ffe2_9739_b9dd_a724_b73617bd6aab["putOpt()"]
  d8746053_75bd_ced7_f66d_addc34fad441 -->|calls| c3e3ffe2_9739_b9dd_a724_b73617bd6aab
  0d342770_7beb_0451_b46c_0da8969bdf0a["putDefaultValue()"]
  d8746053_75bd_ced7_f66d_addc34fad441 -->|calls| 0d342770_7beb_0451_b46c_0da8969bdf0a
  60868547_5f7b_308c_8d23_c2c457f778dd["getItemHintValues()"]
  d8746053_75bd_ced7_f66d_addc34fad441 -->|calls| 60868547_5f7b_308c_8d23_c2c457f778dd
  d5aabaae_a0eb_2260_6145_b5b62d77ebf9["getItemHintProviders()"]
  d8746053_75bd_ced7_f66d_addc34fad441 -->|calls| d5aabaae_a0eb_2260_6145_b5b62d77ebf9
  88f77b45_9cfd_0b63_e1e8_87a3b0e37a4a["put()"]
  d8746053_75bd_ced7_f66d_addc34fad441 -->|calls| 88f77b45_9cfd_0b63_e1e8_87a3b0e37a4a
  style d8746053_75bd_ced7_f66d_addc34fad441 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/metadata/JsonConverter.java lines 63–68

	JSONObject toJsonObject(Collection<ItemIgnore> ignored) throws Exception {
		JSONObject result = new JSONObject();
		result.put("properties", ignoreToJsonArray(
				ignored.stream().filter((itemIgnore) -> itemIgnore.getType() == ItemType.PROPERTY).toList()));
		return result;
	}

Domain

Subdomains

Frequently Asked Questions

What does toJsonObject() do?
toJsonObject() is a function in the spring-boot codebase.
What does toJsonObject() call?
toJsonObject() calls 7 function(s): JSONObject, getItemHintProviders, getItemHintValues, ignoreToJsonArray, put, putDefaultValue, putOpt.
What calls toJsonObject()?
toJsonObject() is called by 2 function(s): ignoreToJsonArray, toJsonArray.

Analyze Your Own Codebase

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

Try Supermodel Free