public class org.springframework.http.converter.json.MappingJackson2HttpMessageConverter extends org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
super_class: org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter
{
private java.lang.String jsonPrefix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.http.converter.json.Jackson2ObjectMapperBuilder.json:()Lorg/springframework/http/converter/json/Jackson2ObjectMapperBuilder;
invokevirtual org.springframework.http.converter.json.Jackson2ObjectMapperBuilder.build:()Lcom/fasterxml/jackson/databind/ObjectMapper;
invokespecial org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.<init>:(Lcom/fasterxml/jackson/databind/ObjectMapper;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/json/MappingJackson2HttpMessageConverter;
public void <init>(com.fasterxml.jackson.databind.ObjectMapper);
descriptor: (Lcom/fasterxml/jackson/databind/ObjectMapper;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_2
anewarray org.springframework.http.MediaType
dup
iconst_0
getstatic org.springframework.http.MediaType.APPLICATION_JSON:Lorg/springframework/http/MediaType;
aastore
dup
iconst_1
new org.springframework.http.MediaType
dup
ldc "application"
ldc "*+json"
invokespecial org.springframework.http.MediaType.<init>:(Ljava/lang/String;Ljava/lang/String;)V
aastore
invokespecial org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.<init>:(Lcom/fasterxml/jackson/databind/ObjectMapper;[Lorg/springframework/http/MediaType;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/json/MappingJackson2HttpMessageConverter;
0 2 1 objectMapper Lcom/fasterxml/jackson/databind/ObjectMapper;
MethodParameters:
Name Flags
objectMapper
public void setJsonPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.jsonPrefix:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/json/MappingJackson2HttpMessageConverter;
0 2 1 jsonPrefix Ljava/lang/String;
MethodParameters:
Name Flags
jsonPrefix
public void setPrefixJson(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ifeq 1
ldc ")]}', "
goto 2
StackMap locals:
StackMap stack: org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
1: aconst_null
StackMap locals: org.springframework.http.converter.json.MappingJackson2HttpMessageConverter int
StackMap stack: org.springframework.http.converter.json.MappingJackson2HttpMessageConverter java.lang.String
2: putfield org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.jsonPrefix:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/converter/json/MappingJackson2HttpMessageConverter;
0 4 1 prefixJson Z
MethodParameters:
Name Flags
prefixJson
protected void writePrefix(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.jsonPrefix:Ljava/lang/String;
ifnull 2
1: aload 1
aload 0
getfield org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.jsonPrefix:Ljava/lang/String;
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeRaw:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/converter/json/MappingJackson2HttpMessageConverter;
0 3 1 generator Lcom/fasterxml/jackson/core/JsonGenerator;
0 3 2 object Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
generator
object
}
SourceFile: "MappingJackson2HttpMessageConverter.java"