read() — spring-boot Function Reference
Architecture documentation for the read() function in JsonReader.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 042cd95c_0b91_e683_3300_e13a43112471["read()"] 97bd14d0_b97f_01c3_08d7_2310d92e39a8["readJson()"] 97bd14d0_b97f_01c3_08d7_2310d92e39a8 -->|calls| 042cd95c_0b91_e683_3300_e13a43112471 97bd14d0_b97f_01c3_08d7_2310d92e39a8["readJson()"] 042cd95c_0b91_e683_3300_e13a43112471 -->|calls| 97bd14d0_b97f_01c3_08d7_2310d92e39a8 0c4716f1_89d3_214b_7093_ffa56bbd0903["parseAllSources()"] 042cd95c_0b91_e683_3300_e13a43112471 -->|calls| 0c4716f1_89d3_214b_7093_ffa56bbd0903 5cbde88c_fc16_4fe0_ed82_2951d88ac431["parseAllItems()"] 042cd95c_0b91_e683_3300_e13a43112471 -->|calls| 5cbde88c_fc16_4fe0_ed82_2951d88ac431 fec0cb25_40b2_aedb_0b43_217278cb009d["parseAllHints()"] 042cd95c_0b91_e683_3300_e13a43112471 -->|calls| fec0cb25_40b2_aedb_0b43_217278cb009d style 042cd95c_0b91_e683_3300_e13a43112471 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/JsonReader.java lines 42–59
RawConfigurationMetadata read(InputStream in, Charset charset) throws IOException {
try {
JSONObject json = readJson(in, charset);
List<ConfigurationMetadataSource> groups = parseAllSources(json);
List<ConfigurationMetadataItem> items = parseAllItems(json);
List<ConfigurationMetadataHint> hints = parseAllHints(json);
return new RawConfigurationMetadata(groups, items, hints);
}
catch (Exception ex) {
if (ex instanceof IOException ioException) {
throw ioException;
}
if (ex instanceof RuntimeException runtimeException) {
throw runtimeException;
}
throw new IllegalStateException(ex);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does read() do?
read() is a function in the spring-boot codebase.
What does read() call?
read() calls 4 function(s): parseAllHints, parseAllItems, parseAllSources, readJson.
What calls read()?
read() is called by 1 function(s): readJson.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free