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

addIgnoredProperties() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 7 called by 1

Entity Profile

Dependency Diagram

graph TD
  243c6917_5588_f779_9f81_3b5d46c64fe2["addIgnoredProperties()"]
  30292bfa_e8ed_1caa_f042_78733422492f["read()"]
  30292bfa_e8ed_1caa_f042_78733422492f -->|calls| 243c6917_5588_f779_9f81_3b5d46c64fe2
  4c649efe_9b8c_671f_8543_8e5ce14da8b6["checkAllowedKeys()"]
  243c6917_5588_f779_9f81_3b5d46c64fe2 -->|calls| 4c649efe_9b8c_671f_8543_8e5ce14da8b6
  9af42522_7f42_0aca_2b3d_1384bb4a48ed["resolve()"]
  243c6917_5588_f779_9f81_3b5d46c64fe2 -->|calls| 9af42522_7f42_0aca_2b3d_1384bb4a48ed
  3d479b6d_fdd2_3293_ee03_ddc08ef5e063["index()"]
  243c6917_5588_f779_9f81_3b5d46c64fe2 -->|calls| 3d479b6d_fdd2_3293_ee03_ddc08ef5e063
  c34cabe8_8204_3dd1_614a_5c365b012bee["optJSONArray()"]
  243c6917_5588_f779_9f81_3b5d46c64fe2 -->|calls| c34cabe8_8204_3dd1_614a_5c365b012bee
  ddc6afa8_7405_eac5_8bc7_c1f7781c5af8["length()"]
  243c6917_5588_f779_9f81_3b5d46c64fe2 -->|calls| ddc6afa8_7405_eac5_8bc7_c1f7781c5af8
  3c1aaf61_0d8e_d17e_1b04_ff03559be459["getJSONObject()"]
  243c6917_5588_f779_9f81_3b5d46c64fe2 -->|calls| 3c1aaf61_0d8e_d17e_1b04_ff03559be459
  3d8a5356_fa95_533b_a051_95b4dfabf7c2["getString()"]
  243c6917_5588_f779_9f81_3b5d46c64fe2 -->|calls| 3d8a5356_fa95_533b_a051_95b4dfabf7c2
  style 243c6917_5588_f779_9f81_3b5d46c64fe2 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 102–113

	private void addIgnoredProperties(ConfigurationMetadata metadata, JSONObject ignored, JsonPath path)
			throws JSONException {
		JSONArray properties = ignored.optJSONArray("properties");
		if (properties == null) {
			return;
		}
		for (int i = 0; i < properties.length(); i++) {
			JSONObject jsonObject = properties.getJSONObject(i);
			checkAllowedKeys(jsonObject, path.resolve("properties").index(i), "name");
			metadata.add(ItemIgnore.forProperty(jsonObject.getString("name")));
		}
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does addIgnoredProperties() do?
addIgnoredProperties() is a function in the spring-boot codebase.
What does addIgnoredProperties() call?
addIgnoredProperties() calls 7 function(s): checkAllowedKeys, getJSONObject, getString, index, length, optJSONArray, resolve.
What calls addIgnoredProperties()?
addIgnoredProperties() is called by 1 function(s): read.

Analyze Your Own Codebase

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

Try Supermodel Free