public class com.fasterxml.jackson.databind.ser.std.StdKeySerializers$Default extends com.fasterxml.jackson.databind.ser.std.StdSerializer<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ser.std.StdKeySerializers$Default
super_class: com.fasterxml.jackson.databind.ser.std.StdSerializer
{
static final int TYPE_DATE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int TYPE_CALENDAR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int TYPE_CLASS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int TYPE_ENUM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int TYPE_INTEGER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 5
static final int TYPE_LONG;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 6
static final int TYPE_BYTE_ARRAY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 7
static final int TYPE_TO_STRING;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
protected final int _typeId;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(int, java.lang.Class<?>);
descriptor: (ILjava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
iconst_0
invokespecial com.fasterxml.jackson.databind.ser.std.StdSerializer.<init>:(Ljava/lang/Class;Z)V
1: aload 0
iload 1
putfield com.fasterxml.jackson.databind.ser.std.StdKeySerializers$Default._typeId:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/databind/ser/std/StdKeySerializers$Default;
0 3 1 typeId I
0 3 2 type Ljava/lang/Class<*>;
Signature: (ILjava/lang/Class<*>;)V
MethodParameters:
Name Flags
typeId
type
public void serialize(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider);
descriptor: (Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.fasterxml.jackson.databind.ser.std.StdKeySerializers$Default._typeId:I
tableswitch { // 1 - 8
1: 1
2: 3
3: 5
4: 7
5: 17
6: 17
7: 19
8: 22
default: 22
}
1: StackMap locals:
StackMap stack:
aload 3
aload 1
checkcast java.util.Date
aload 2
invokevirtual com.fasterxml.jackson.databind.SerializerProvider.defaultSerializeDateKey:(Ljava/util/Date;Lcom/fasterxml/jackson/core/JsonGenerator;)V
2: goto 23
3: StackMap locals:
StackMap stack:
aload 3
aload 1
checkcast java.util.Calendar
invokevirtual java.util.Calendar.getTimeInMillis:()J
aload 2
invokevirtual com.fasterxml.jackson.databind.SerializerProvider.defaultSerializeDateKey:(JLcom/fasterxml/jackson/core/JsonGenerator;)V
4: goto 23
5: StackMap locals:
StackMap stack:
aload 2
aload 1
checkcast java.lang.Class
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeFieldName:(Ljava/lang/String;)V
6: goto 23
7: StackMap locals:
StackMap stack:
aload 3
getstatic com.fasterxml.jackson.databind.SerializationFeature.WRITE_ENUMS_USING_TO_STRING:Lcom/fasterxml/jackson/databind/SerializationFeature;
invokevirtual com.fasterxml.jackson.databind.SerializerProvider.isEnabled:(Lcom/fasterxml/jackson/databind/SerializationFeature;)Z
ifeq 10
8: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 4
start local 4 9: goto 15
end local 4 10: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.Enum
astore 5
start local 5 11: aload 3
getstatic com.fasterxml.jackson.databind.SerializationFeature.WRITE_ENUM_KEYS_USING_INDEX:Lcom/fasterxml/jackson/databind/SerializationFeature;
invokevirtual com.fasterxml.jackson.databind.SerializerProvider.isEnabled:(Lcom/fasterxml/jackson/databind/SerializationFeature;)Z
ifeq 14
12: aload 5
invokevirtual java.lang.Enum.ordinal:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
astore 4
start local 4 13: goto 15
end local 4 14: StackMap locals: com.fasterxml.jackson.databind.ser.std.StdKeySerializers$Default java.lang.Object com.fasterxml.jackson.core.JsonGenerator com.fasterxml.jackson.databind.SerializerProvider top java.lang.Enum
StackMap stack:
aload 5
invokevirtual java.lang.Enum.name:()Ljava/lang/String;
astore 4
end local 5 start local 4 15: StackMap locals: com.fasterxml.jackson.databind.ser.std.StdKeySerializers$Default java.lang.Object com.fasterxml.jackson.core.JsonGenerator com.fasterxml.jackson.databind.SerializerProvider java.lang.String
StackMap stack:
aload 2
aload 4
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeFieldName:(Ljava/lang/String;)V
end local 4 16: goto 23
17: StackMap locals:
StackMap stack:
aload 2
aload 1
checkcast java.lang.Number
invokevirtual java.lang.Number.longValue:()J
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeFieldId:(J)V
18: goto 23
19: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.fasterxml.jackson.databind.SerializerProvider.getConfig:()Lcom/fasterxml/jackson/databind/SerializationConfig;
invokevirtual com.fasterxml.jackson.databind.SerializationConfig.getBase64Variant:()Lcom/fasterxml/jackson/core/Base64Variant;
aload 1
checkcast byte[]
invokevirtual com.fasterxml.jackson.core.Base64Variant.encode:([B)Ljava/lang/String;
astore 4
start local 4 20: aload 2
aload 4
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeFieldName:(Ljava/lang/String;)V
end local 4 21: goto 23
22: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeFieldName:(Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/fasterxml/jackson/databind/ser/std/StdKeySerializers$Default;
0 24 1 value Ljava/lang/Object;
0 24 2 g Lcom/fasterxml/jackson/core/JsonGenerator;
0 24 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
9 10 4 key Ljava/lang/String;
13 14 4 key Ljava/lang/String;
15 16 4 key Ljava/lang/String;
11 15 5 e Ljava/lang/Enum<*>;
20 21 4 encoded Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
g
provider
}
Signature: Lcom/fasterxml/jackson/databind/ser/std/StdSerializer<Ljava/lang/Object;>;
SourceFile: "StdKeySerializers.java"
NestHost: com.fasterxml.jackson.databind.ser.std.StdKeySerializers
InnerClasses:
public Default = com.fasterxml.jackson.databind.ser.std.StdKeySerializers$Default of com.fasterxml.jackson.databind.ser.std.StdKeySerializers