readEscapeCharacter() — spring-boot Function Reference
Architecture documentation for the readEscapeCharacter() function in JSONTokener.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 86045145_3d09_a1ca_b6ad_828ea04afb9d["readEscapeCharacter()"] 0e60597a_7663_531a_8d22_7804181f0d6d["nextString()"] 0e60597a_7663_531a_8d22_7804181f0d6d -->|calls| 86045145_3d09_a1ca_b6ad_828ea04afb9d 424682c6_51c3_cdab_a5b5_25e0f9a6d8eb["syntaxError()"] 86045145_3d09_a1ca_b6ad_828ea04afb9d -->|calls| 424682c6_51c3_cdab_a5b5_25e0f9a6d8eb style 86045145_3d09_a1ca_b6ad_828ea04afb9d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/json-shade/java/org/springframework/boot/configurationprocessor/json/JSONTokener.java lines 235–265
private char readEscapeCharacter() throws JSONException {
char escaped = this.in.charAt(this.pos++);
switch (escaped) {
case 'u':
if (this.pos + 4 > this.in.length()) {
throw syntaxError("Unterminated escape sequence");
}
String hex = this.in.substring(this.pos, this.pos + 4);
this.pos += 4;
return (char) Integer.parseInt(hex, 16);
case 't':
return '\t';
case 'b':
return '\b';
case 'n':
return '\n';
case 'r':
return '\r';
case 'f':
return '\f';
case '\'', '"', '\\':
default:
return escaped;
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does readEscapeCharacter() do?
readEscapeCharacter() is a function in the spring-boot codebase.
What does readEscapeCharacter() call?
readEscapeCharacter() calls 1 function(s): syntaxError.
What calls readEscapeCharacter()?
readEscapeCharacter() is called by 1 function(s): nextString.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free