public class io.vertx.core.json.Json
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.json.Json
super_class: java.lang.Object
{
public static final io.vertx.core.spi.json.JsonCodec CODEC;
descriptor: Lio/vertx/core/spi/json/JsonCodec;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.vertx.core.spi.JsonFactory.INSTANCE:Lio/vertx/core/spi/JsonFactory;
invokeinterface io.vertx.core.spi.JsonFactory.codec:()Lio/vertx/core/spi/json/JsonCodec;
putstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/Json;
public static io.vertx.core.spi.JsonFactory load();
descriptor: ()Lio/vertx/core/spi/JsonFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: ldc Lio/vertx/core/spi/JsonFactory;
invokestatic io.vertx.core.ServiceHelper.loadFactoryOrNull:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast io.vertx.core.spi.JsonFactory
astore 0
start local 0 1: aload 0
ifnonnull 3
2: getstatic io.vertx.core.json.jackson.JacksonFactory.INSTANCE:Lio/vertx/core/json/jackson/JacksonFactory;
astore 0
3: StackMap locals: io.vertx.core.spi.JsonFactory
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 factory Lio/vertx/core/spi/JsonFactory;
public static java.lang.String encode(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
aload 0
invokeinterface io.vertx.core.spi.json.JsonCodec.toString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
Exceptions:
throws io.vertx.core.json.EncodeException
MethodParameters:
Name Flags
obj
public static io.vertx.core.buffer.Buffer encodeToBuffer(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/vertx/core/buffer/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
aload 0
invokeinterface io.vertx.core.spi.json.JsonCodec.toBuffer:(Ljava/lang/Object;)Lio/vertx/core/buffer/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
Exceptions:
throws io.vertx.core.json.EncodeException
MethodParameters:
Name Flags
obj
public static java.lang.String encodePrettily(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
aload 0
iconst_1
invokeinterface io.vertx.core.spi.json.JsonCodec.toString:(Ljava/lang/Object;Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
Exceptions:
throws io.vertx.core.json.EncodeException
MethodParameters:
Name Flags
obj
public static <T> T decodeValue(java.lang.String, java.lang.Class<T>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
aload 0
aload 1
invokeinterface io.vertx.core.spi.json.JsonCodec.fromString:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
0 1 1 clazz Ljava/lang/Class<TT;>;
Exceptions:
throws io.vertx.core.json.DecodeException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
str
clazz
public static java.lang.Object decodeValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/lang/Object;
invokestatic io.vertx.core.json.Json.decodeValue:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
Exceptions:
throws io.vertx.core.json.DecodeException
MethodParameters:
Name Flags
str
public static java.lang.Object decodeValue(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/lang/Object;
invokestatic io.vertx.core.json.Json.decodeValue:(Lio/vertx/core/buffer/Buffer;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buf Lio/vertx/core/buffer/Buffer;
Exceptions:
throws io.vertx.core.json.DecodeException
MethodParameters:
Name Flags
buf
public static <T> T decodeValue(io.vertx.core.buffer.Buffer, java.lang.Class<T>);
descriptor: (Lio/vertx/core/buffer/Buffer;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
aload 0
aload 1
invokeinterface io.vertx.core.spi.json.JsonCodec.fromBuffer:(Lio/vertx/core/buffer/Buffer;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buf Lio/vertx/core/buffer/Buffer;
0 1 1 clazz Ljava/lang/Class<TT;>;
Exceptions:
throws io.vertx.core.json.DecodeException
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/buffer/Buffer;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
buf
clazz
}
SourceFile: "Json.java"