public final class io.vertx.core.json.impl.JsonUtil
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: io.vertx.core.json.impl.JsonUtil
  super_class: java.lang.Object
{
  public static final java.util.Base64$Encoder BASE64_ENCODER;
    descriptor: Ljava/util/Base64$Encoder;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.util.Base64$Decoder BASE64_DECODER;
    descriptor: Ljava/util/Base64$Decoder;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 39
            ldc "legacy"
            ldc "vertx.json.base64"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 4
         1: .line 40
            invokestatic java.util.Base64.getEncoder:()Ljava/util/Base64$Encoder;
            putstatic io.vertx.core.json.impl.JsonUtil.BASE64_ENCODER:Ljava/util/Base64$Encoder;
         2: .line 41
            invokestatic java.util.Base64.getDecoder:()Ljava/util/Base64$Decoder;
            putstatic io.vertx.core.json.impl.JsonUtil.BASE64_DECODER:Ljava/util/Base64$Decoder;
         3: .line 42
            goto 6
         4: .line 43
      StackMap locals:
      StackMap stack:
            invokestatic java.util.Base64.getUrlEncoder:()Ljava/util/Base64$Encoder;
            invokevirtual java.util.Base64$Encoder.withoutPadding:()Ljava/util/Base64$Encoder;
            putstatic io.vertx.core.json.impl.JsonUtil.BASE64_ENCODER:Ljava/util/Base64$Encoder;
         5: .line 44
            invokestatic java.util.Base64.getUrlDecoder:()Ljava/util/Base64$Decoder;
            putstatic io.vertx.core.json.impl.JsonUtil.BASE64_DECODER:Ljava/util/Base64$Decoder;
         6: .line 46
      StackMap locals:
      StackMap stack:
            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 // io.vertx.core.json.impl.JsonUtil this
         0: .line 28
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // io.vertx.core.json.impl.JsonUtil this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/core/json/impl/JsonUtil;

  public static java.lang.Object wrapJsonValue(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.Object val
         0: .line 62
            aload 0 /* val */
            ifnonnull 2
         1: .line 63
            aconst_null
            areturn
         2: .line 67
      StackMap locals:
      StackMap stack:
            aload 0 /* val */
            instanceof java.util.Map
            ifeq 5
         3: .line 68
            new io.vertx.core.json.JsonObject
            dup
            aload 0 /* val */
            checkcast java.util.Map
            invokespecial io.vertx.core.json.JsonObject.<init>:(Ljava/util/Map;)V
            astore 0 /* val */
         4: .line 69
            goto 19
      StackMap locals:
      StackMap stack:
         5: aload 0 /* val */
            instanceof java.util.List
            ifeq 8
         6: .line 70
            new io.vertx.core.json.JsonArray
            dup
            aload 0 /* val */
            checkcast java.util.List
            invokespecial io.vertx.core.json.JsonArray.<init>:(Ljava/util/List;)V
            astore 0 /* val */
         7: .line 71
            goto 19
      StackMap locals:
      StackMap stack:
         8: aload 0 /* val */
            instanceof java.time.Instant
            ifeq 11
         9: .line 72
            getstatic java.time.format.DateTimeFormatter.ISO_INSTANT:Ljava/time/format/DateTimeFormatter;
            aload 0 /* val */
            checkcast java.time.Instant
            invokevirtual java.time.format.DateTimeFormatter.format:(Ljava/time/temporal/TemporalAccessor;)Ljava/lang/String;
            astore 0 /* val */
        10: .line 73
            goto 19
      StackMap locals:
      StackMap stack:
        11: aload 0 /* val */
            instanceof byte[]
            ifeq 14
        12: .line 74
            getstatic io.vertx.core.json.impl.JsonUtil.BASE64_ENCODER:Ljava/util/Base64$Encoder;
            aload 0 /* val */
            checkcast byte[]
            invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
            astore 0 /* val */
        13: .line 75
            goto 19
      StackMap locals:
      StackMap stack:
        14: aload 0 /* val */
            instanceof io.vertx.core.buffer.Buffer
            ifeq 17
        15: .line 76
            getstatic io.vertx.core.json.impl.JsonUtil.BASE64_ENCODER:Ljava/util/Base64$Encoder;
            aload 0 /* val */
            checkcast io.vertx.core.buffer.Buffer
            invokeinterface io.vertx.core.buffer.Buffer.getBytes:()[B
            invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
            astore 0 /* val */
        16: .line 77
            goto 19
      StackMap locals:
      StackMap stack:
        17: aload 0 /* val */
            instanceof java.lang.Enum
            ifeq 19
        18: .line 78
            aload 0 /* val */
            checkcast java.lang.Enum
            invokevirtual java.lang.Enum.name:()Ljava/lang/String;
            astore 0 /* val */
        19: .line 81
      StackMap locals:
      StackMap stack:
            aload 0 /* val */
            areturn
        end local 0 // java.lang.Object val
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   20     0   val  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      val   

  public static java.lang.Object checkAndCopy(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // java.lang.Object val
         0: .line 86
            aload 0 /* val */
            ifnull 24
         1: .line 88
            aload 0 /* val */
            instanceof java.lang.Number
            ifne 24
         2: .line 90
            aload 0 /* val */
            instanceof java.lang.Boolean
            ifne 24
         3: .line 92
            aload 0 /* val */
            instanceof java.lang.String
            ifne 24
         4: .line 94
            aload 0 /* val */
            instanceof java.lang.Character
            ifne 24
         5: .line 96
            aload 0 /* val */
            instanceof java.lang.CharSequence
            ifeq 8
         6: .line 98
            aload 0 /* val */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            astore 0 /* val */
         7: .line 99
            goto 24
      StackMap locals:
      StackMap stack:
         8: aload 0 /* val */
            instanceof io.vertx.core.shareddata.Shareable
            ifeq 11
         9: .line 102
            aload 0 /* val */
            checkcast io.vertx.core.shareddata.Shareable
            invokeinterface io.vertx.core.shareddata.Shareable.copy:()Lio/vertx/core/shareddata/Shareable;
            astore 0 /* val */
        10: .line 103
            goto 24
      StackMap locals:
      StackMap stack:
        11: aload 0 /* val */
            instanceof java.util.Map
            ifeq 14
        12: .line 104
            new io.vertx.core.json.JsonObject
            dup
            aload 0 /* val */
            checkcast java.util.Map
            invokespecial io.vertx.core.json.JsonObject.<init>:(Ljava/util/Map;)V
            invokevirtual io.vertx.core.json.JsonObject.copy:()Lio/vertx/core/json/JsonObject;
            astore 0 /* val */
        13: .line 105
            goto 24
      StackMap locals:
      StackMap stack:
        14: aload 0 /* val */
            instanceof java.util.List
            ifeq 17
        15: .line 106
            new io.vertx.core.json.JsonArray
            dup
            aload 0 /* val */
            checkcast java.util.List
            invokespecial io.vertx.core.json.JsonArray.<init>:(Ljava/util/List;)V
            invokevirtual io.vertx.core.json.JsonArray.copy:()Lio/vertx/core/json/JsonArray;
            astore 0 /* val */
        16: .line 107
            goto 24
      StackMap locals:
      StackMap stack:
        17: aload 0 /* val */
            instanceof io.vertx.core.buffer.Buffer
            ifeq 20
        18: .line 108
            aload 0 /* val */
            checkcast io.vertx.core.buffer.Buffer
            invokeinterface io.vertx.core.buffer.Buffer.copy:()Lio/vertx/core/buffer/Buffer;
            astore 0 /* val */
        19: .line 109
            goto 24
      StackMap locals:
      StackMap stack:
        20: aload 0 /* val */
            instanceof byte[]
            ifne 24
        21: .line 111
            aload 0 /* val */
            instanceof java.time.Instant
            ifne 24
        22: .line 113
            aload 0 /* val */
            instanceof java.lang.Enum
            ifne 24
        23: .line 116
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Illegal type in Json: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* val */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        24: .line 118
      StackMap locals:
      StackMap stack:
            aload 0 /* val */
            areturn
        end local 0 // java.lang.Object val
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   25     0   val  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      val   
}
SourceFile: "JsonUtil.java"
InnerClasses:
  public Decoder = java.util.Base64$Decoder of java.util.Base64
  public Encoder = java.util.Base64$Encoder of java.util.Base64