public class org.springframework.boot.json.BasicJsonParser extends org.springframework.boot.json.AbstractJsonParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.json.BasicJsonParser
super_class: org.springframework.boot.json.AbstractJsonParser
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.boot.json.AbstractJsonParser.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/json/BasicJsonParser;
public java.util.Map<java.lang.String, java.lang.Object> parseMap(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
invokedynamic apply(Lorg/springframework/boot/json/BasicJsonParser;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/springframework/boot/json/BasicJsonParser.parseMapInternal(Ljava/lang/String;)Ljava/util/Map; (7)
(Ljava/lang/String;)Ljava/util/Map;
invokevirtual org.springframework.boot.json.BasicJsonParser.parseMap:(Ljava/lang/String;Ljava/util/function/Function;)Ljava/util/Map;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/json/BasicJsonParser;
0 1 1 json Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
json
public java.util.List<java.lang.Object> parseList(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
invokedynamic apply(Lorg/springframework/boot/json/BasicJsonParser;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/springframework/boot/json/BasicJsonParser.parseListInternal(Ljava/lang/String;)Ljava/util/List; (7)
(Ljava/lang/String;)Ljava/util/List;
invokevirtual org.springframework.boot.json.BasicJsonParser.parseList:(Ljava/lang/String;Ljava/util/function/Function;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/json/BasicJsonParser;
0 1 1 json Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/Object;>;
MethodParameters:
Name Flags
json
private java.util.List<java.lang.Object> parseListInternal(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
bipush 93
invokestatic org.springframework.boot.json.BasicJsonParser.trimTrailingCharacter:(Ljava/lang/String;C)Ljava/lang/String;
bipush 91
invokestatic org.springframework.boot.json.BasicJsonParser.trimLeadingCharacter:(Ljava/lang/String;C)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
2: aload 0
aload 1
invokevirtual org.springframework.boot.json.BasicJsonParser.tokenize:(Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.springframework.boot.json.BasicJsonParser java.lang.String java.util.List top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 2
aload 0
aload 3
invokevirtual org.springframework.boot.json.BasicJsonParser.parseInternal:(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/json/BasicJsonParser;
0 7 1 json Ljava/lang/String;
1 7 2 list Ljava/util/List<Ljava/lang/Object;>;
4 5 3 value Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/Object;>;
MethodParameters:
Name Flags
json
private java.lang.Object parseInternal(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
aload 1
invokevirtual org.springframework.boot.json.BasicJsonParser.parseListInternal:(Ljava/lang/String;)Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "{"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
aload 1
invokevirtual org.springframework.boot.json.BasicJsonParser.parseMapInternal:(Ljava/lang/String;)Ljava/util/Map;
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "\""
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: aload 1
bipush 34
invokestatic org.springframework.boot.json.BasicJsonParser.trimLeadingCharacter:(Ljava/lang/String;C)Ljava/lang/String;
bipush 34
invokestatic org.springframework.boot.json.BasicJsonParser.trimTrailingCharacter:(Ljava/lang/String;C)Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.Long.valueOf:(Ljava/lang/String;)Ljava/lang/Long;
7: areturn
8: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
9: aload 1
invokestatic java.lang.Double.valueOf:(Ljava/lang/String;)Ljava/lang/Double;
10: areturn
11: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
12: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/boot/json/BasicJsonParser;
0 13 1 json Ljava/lang/String;
Exception table:
from to target type
6 7 8 Class java.lang.NumberFormatException
9 10 11 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
json
private static java.lang.String trimTrailingCharacter(java.lang.String, char);
descriptor: (Ljava/lang/String;C)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 2
aload 0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
iload 1
if_icmpne 2
1: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 string Ljava/lang/String;
0 3 1 c C
MethodParameters:
Name Flags
string
c
private static java.lang.String trimLeadingCharacter(java.lang.String, char);
descriptor: (Ljava/lang/String;C)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 2
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
iload 1
if_icmpne 2
1: aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 string Ljava/lang/String;
0 3 1 c C
MethodParameters:
Name Flags
string
c
private java.util.Map<java.lang.String, java.lang.Object> parseMapInternal(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 2
start local 2 1: aload 1
bipush 125
invokestatic org.springframework.boot.json.BasicJsonParser.trimTrailingCharacter:(Ljava/lang/String;C)Ljava/lang/String;
bipush 123
invokestatic org.springframework.boot.json.BasicJsonParser.trimLeadingCharacter:(Ljava/lang/String;C)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
2: aload 0
aload 1
invokevirtual org.springframework.boot.json.BasicJsonParser.tokenize:(Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.springframework.boot.json.BasicJsonParser java.lang.String java.util.Map top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 3
ldc ":"
invokestatic org.springframework.util.StringUtils.split:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.trimArrayElements:([Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 5: aload 5
iconst_0
aaload
bipush 34
invokestatic org.springframework.boot.json.BasicJsonParser.trimTrailingCharacter:(Ljava/lang/String;C)Ljava/lang/String;
bipush 34
invokestatic org.springframework.boot.json.BasicJsonParser.trimLeadingCharacter:(Ljava/lang/String;C)Ljava/lang/String;
astore 6
start local 6 6: aload 0
aload 5
iconst_1
aaload
invokevirtual org.springframework.boot.json.BasicJsonParser.parseInternal:(Ljava/lang/String;)Ljava/lang/Object;
astore 7
start local 7 7: aload 2
aload 6
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 5 end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/boot/json/BasicJsonParser;
0 10 1 json Ljava/lang/String;
1 10 2 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
4 8 3 pair Ljava/lang/String;
5 8 5 values [Ljava/lang/String;
6 8 6 key Ljava/lang/String;
7 8 7 value Ljava/lang/Object;
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
json
private java.util.List<java.lang.String> tokenize(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=10, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: iconst_0
istore 7
start local 7 6: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 8
start local 8 7: goto 35
8: StackMap locals: org.springframework.boot.json.BasicJsonParser java.lang.String java.util.List int int int int int java.lang.StringBuilder
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 9
start local 9 9: iload 7
ifeq 14
10: aload 8
iload 9
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: iinc 3 1
12: iconst_0
istore 7
13: goto 35
14: StackMap locals: int
StackMap stack:
iload 9
bipush 123
if_icmpne 16
15: iinc 4 1
16: StackMap locals:
StackMap stack:
iload 9
bipush 125
if_icmpne 18
17: iinc 4 -1
18: StackMap locals:
StackMap stack:
iload 9
bipush 91
if_icmpne 20
19: iinc 5 1
20: StackMap locals:
StackMap stack:
iload 9
bipush 93
if_icmpne 22
21: iinc 5 -1
22: StackMap locals:
StackMap stack:
iload 9
bipush 34
if_icmpne 26
23: iload 6
ifeq 24
iconst_0
goto 25
StackMap locals:
StackMap stack:
24: iconst_1
StackMap locals:
StackMap stack: int
25: istore 6
26: StackMap locals:
StackMap stack:
iload 9
bipush 44
if_icmpne 30
iload 4
ifne 30
iload 5
ifne 30
iload 6
ifne 30
27: aload 2
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
28: aload 8
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
29: goto 34
30: StackMap locals:
StackMap stack:
iload 9
bipush 92
if_icmpne 33
31: iconst_1
istore 7
32: goto 34
33: StackMap locals:
StackMap stack:
aload 8
iload 9
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
34: StackMap locals:
StackMap stack:
iinc 3 1
end local 9 35: StackMap locals:
StackMap stack:
iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 8
36: aload 8
invokevirtual java.lang.StringBuilder.length:()I
ifle 38
37: aload 2
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
38: StackMap locals:
StackMap stack:
aload 2
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/springframework/boot/json/BasicJsonParser;
0 39 1 json Ljava/lang/String;
1 39 2 list Ljava/util/List<Ljava/lang/String;>;
2 39 3 index I
3 39 4 inObject I
4 39 5 inList I
5 39 6 inValue Z
6 39 7 inEscape Z
7 39 8 build Ljava/lang/StringBuilder;
9 35 9 current C
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
json
}
SourceFile: "BasicJsonParser.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles