public final class jdk.nashorn.internal.runtime.JSONFunctions
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.internal.runtime.JSONFunctions
  super_class: java.lang.Object
{
  private static final java.lang.Object REVIVER_INVOKER;
    descriptor: Ljava/lang/Object;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 41
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putstatic jdk.nashorn.internal.runtime.JSONFunctions.REVIVER_INVOKER:Ljava/lang/Object;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.JSONFunctions this
         0: .line 39
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.nashorn.internal.runtime.JSONFunctions this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/JSONFunctions;

  private static java.lang.invoke.MethodHandle getREVIVER_INVOKER();
    descriptor: ()Ljava/lang/invoke/MethodHandle;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 44
            invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
            getstatic jdk.nashorn.internal.runtime.JSONFunctions.REVIVER_INVOKER:Ljava/lang/Object;
         1: .line 45
            new jdk.nashorn.internal.runtime.JSONFunctions$1
            dup
            invokespecial jdk.nashorn.internal.runtime.JSONFunctions$1.<init>:()V
         2: .line 44
            invokevirtual jdk.nashorn.internal.objects.Global.getDynamicInvoker:(Ljava/lang/Object;Ljava/util/concurrent/Callable;)Ljava/lang/invoke/MethodHandle;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static java.lang.String quote(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.String str
         0: .line 61
            aload 0 /* str */
            invokestatic jdk.nashorn.internal.parser.JSONParser.quote:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 0 // java.lang.String str
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   str  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      str   final

  public static java.lang.Object parse(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=8, args_size=2
        start local 0 // java.lang.Object text
        start local 1 // java.lang.Object reviver
         0: .line 72
            aload 0 /* text */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            astore 2 /* str */
        start local 2 // java.lang.String str
         1: .line 73
            invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
            astore 3 /* global */
        start local 3 // jdk.nashorn.internal.objects.Global global
         2: .line 74
            aload 3 /* global */
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.useDualFields:()Z
            istore 4 /* dualFields */
        start local 4 // boolean dualFields
         3: .line 75
            new jdk.nashorn.internal.parser.JSONParser
            dup
            aload 2 /* str */
            aload 3 /* global */
            iload 4 /* dualFields */
            invokespecial jdk.nashorn.internal.parser.JSONParser.<init>:(Ljava/lang/String;Ljdk/nashorn/internal/objects/Global;Z)V
            astore 5 /* parser */
        start local 5 // jdk.nashorn.internal.parser.JSONParser parser
         4: .line 79
            aload 5 /* parser */
            invokevirtual jdk.nashorn.internal.parser.JSONParser.parse:()Ljava/lang/Object;
            astore 6 /* value */
        start local 6 // java.lang.Object value
         5: .line 80
            goto 8
        end local 6 // java.lang.Object value
      StackMap locals: java.lang.Object java.lang.Object java.lang.String jdk.nashorn.internal.objects.Global int jdk.nashorn.internal.parser.JSONParser
      StackMap stack: jdk.nashorn.internal.runtime.ParserException
         6: astore 7 /* e */
        start local 7 // jdk.nashorn.internal.runtime.ParserException e
         7: .line 81
            aload 7 /* e */
            ldc "invalid.json"
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 7 /* e */
            invokevirtual jdk.nashorn.internal.runtime.ParserException.getMessage:()Ljava/lang/String;
            aastore
            invokestatic jdk.nashorn.internal.runtime.ECMAErrors.syntaxError:(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
            athrow
        end local 7 // jdk.nashorn.internal.runtime.ParserException e
        start local 6 // java.lang.Object value
         8: .line 84
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 3 /* global */
            aload 6 /* value */
            aload 1 /* reviver */
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.applyReviver:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 6 // java.lang.Object value
        end local 5 // jdk.nashorn.internal.parser.JSONParser parser
        end local 4 // boolean dualFields
        end local 3 // jdk.nashorn.internal.objects.Global global
        end local 2 // java.lang.String str
        end local 1 // java.lang.Object reviver
        end local 0 // java.lang.Object text
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        text  Ljava/lang/Object;
            0    9     1     reviver  Ljava/lang/Object;
            1    9     2         str  Ljava/lang/String;
            2    9     3      global  Ljdk/nashorn/internal/objects/Global;
            3    9     4  dualFields  Z
            4    9     5      parser  Ljdk/nashorn/internal/parser/JSONParser;
            5    6     6       value  Ljava/lang/Object;
            8    9     6       value  Ljava/lang/Object;
            7    8     7           e  Ljdk/nashorn/internal/runtime/ParserException;
      Exception table:
        from    to  target  type
           4     5       6  Class jdk.nashorn.internal.runtime.ParserException
    MethodParameters:
         Name  Flags
      text     final
      reviver  final

  private static java.lang.Object applyReviver(jdk.nashorn.internal.objects.Global, java.lang.Object, java.lang.Object);
    descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // jdk.nashorn.internal.objects.Global global
        start local 1 // java.lang.Object unfiltered
        start local 2 // java.lang.Object reviver
         0: .line 93
            aload 2 /* reviver */
            invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isCallable:(Ljava/lang/Object;)Z
            ifeq 4
         1: .line 94
            aload 0 /* global */
            invokevirtual jdk.nashorn.internal.objects.Global.newObject:()Ljdk/nashorn/internal/runtime/ScriptObject;
            astore 3 /* root */
        start local 3 // jdk.nashorn.internal.runtime.ScriptObject root
         2: .line 95
            aload 3 /* root */
            ldc ""
            iconst_0
            aload 1 /* unfiltered */
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.addOwnProperty:(Ljava/lang/Object;ILjava/lang/Object;)Ljdk/nashorn/internal/runtime/Property;
            pop
         3: .line 96
            aload 3 /* root */
            ldc ""
            aload 2 /* reviver */
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.walk:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 3 // jdk.nashorn.internal.runtime.ScriptObject root
         4: .line 98
      StackMap locals:
      StackMap stack:
            aload 1 /* unfiltered */
            areturn
        end local 2 // java.lang.Object reviver
        end local 1 // java.lang.Object unfiltered
        end local 0 // jdk.nashorn.internal.objects.Global global
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0      global  Ljdk/nashorn/internal/objects/Global;
            0    5     1  unfiltered  Ljava/lang/Object;
            0    5     2     reviver  Ljava/lang/Object;
            2    4     3        root  Ljdk/nashorn/internal/runtime/ScriptObject;
    MethodParameters:
            Name  Flags
      global      final
      unfiltered  final
      reviver     final

  private static java.lang.Object walk(jdk.nashorn.internal.runtime.ScriptObject, java.lang.Object, java.lang.Object);
    descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=11, args_size=3
        start local 0 // jdk.nashorn.internal.runtime.ScriptObject holder
        start local 1 // java.lang.Object name
        start local 2 // java.lang.Object reviver
         0: .line 103
            aload 0 /* holder */
            aload 1 /* name */
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.get:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 3 /* val */
        start local 3 // java.lang.Object val
         1: .line 104
            aload 3 /* val */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            ifeq 26
         2: .line 105
            aload 3 /* val */
            checkcast jdk.nashorn.internal.runtime.ScriptObject
            astore 4 /* valueObj */
        start local 4 // jdk.nashorn.internal.runtime.ScriptObject valueObj
         3: .line 106
            aload 4 /* valueObj */
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.isArray:()Z
            ifeq 16
         4: .line 107
            aload 4 /* valueObj */
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getLength:()Ljava/lang/Object;
            invokestatic jdk.nashorn.internal.runtime.JSType.toInteger:(Ljava/lang/Object;)I
            istore 5 /* length */
        start local 5 // int length
         5: .line 108
            iconst_0
            istore 6 /* i */
        start local 6 // int i
         6: goto 14
         7: .line 109
      StackMap locals: jdk.nashorn.internal.runtime.ScriptObject java.lang.Object java.lang.Object java.lang.Object jdk.nashorn.internal.runtime.ScriptObject int int
      StackMap stack:
            iload 6 /* i */
            invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
            astore 7 /* key */
        start local 7 // java.lang.String key
         8: .line 110
            aload 4 /* valueObj */
            aload 7 /* key */
            aload 2 /* reviver */
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.walk:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            astore 8 /* newElement */
        start local 8 // java.lang.Object newElement
         9: .line 112
            aload 8 /* newElement */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpne 12
        10: .line 113
            aload 4 /* valueObj */
            iload 6 /* i */
            iconst_0
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.delete:(IZ)Z
            pop
        11: .line 114
            goto 13
        12: .line 115
      StackMap locals: java.lang.String java.lang.Object
      StackMap stack:
            aload 4 /* valueObj */
            aload 7 /* key */
            aload 8 /* newElement */
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.setPropertyValue:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/String;Ljava/lang/Object;)V
        end local 8 // java.lang.Object newElement
        end local 7 // java.lang.String key
        13: .line 108
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        14: iload 6 /* i */
            iload 5 /* length */
            if_icmplt 7
        end local 6 // int i
        end local 5 // int length
        15: .line 118
            goto 26
        16: .line 119
      StackMap locals:
      StackMap stack:
            aload 4 /* valueObj */
            iconst_0
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getOwnKeys:(Z)[Ljava/lang/String;
            astore 5 /* keys */
        start local 5 // java.lang.String[] keys
        17: .line 120
            aload 5 /* keys */
            dup
            astore 9
            arraylength
            istore 8
            iconst_0
            istore 7
            goto 25
      StackMap locals: jdk.nashorn.internal.runtime.ScriptObject java.lang.Object java.lang.Object java.lang.Object jdk.nashorn.internal.runtime.ScriptObject java.lang.String[] top int int java.lang.String[]
      StackMap stack:
        18: aload 9
            iload 7
            aaload
            astore 6 /* key */
        start local 6 // java.lang.String key
        19: .line 121
            aload 4 /* valueObj */
            aload 6 /* key */
            aload 2 /* reviver */
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.walk:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            astore 10 /* newElement */
        start local 10 // java.lang.Object newElement
        20: .line 123
            aload 10 /* newElement */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpne 23
        21: .line 124
            aload 4 /* valueObj */
            aload 6 /* key */
            iconst_0
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.delete:(Ljava/lang/Object;Z)Z
            pop
        22: .line 125
            goto 24
        23: .line 126
      StackMap locals: jdk.nashorn.internal.runtime.ScriptObject java.lang.Object java.lang.Object java.lang.Object jdk.nashorn.internal.runtime.ScriptObject java.lang.String[] java.lang.String int int java.lang.String[] java.lang.Object
      StackMap stack:
            aload 4 /* valueObj */
            aload 6 /* key */
            aload 10 /* newElement */
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.setPropertyValue:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/String;Ljava/lang/Object;)V
        end local 10 // java.lang.Object newElement
        end local 6 // java.lang.String key
        24: .line 120
      StackMap locals: jdk.nashorn.internal.runtime.ScriptObject java.lang.Object java.lang.Object java.lang.Object jdk.nashorn.internal.runtime.ScriptObject java.lang.String[] top int int java.lang.String[]
      StackMap stack:
            iinc 7 1
      StackMap locals:
      StackMap stack:
        25: iload 7
            iload 8
            if_icmplt 18
        end local 5 // java.lang.String[] keys
        end local 4 // jdk.nashorn.internal.runtime.ScriptObject valueObj
        26: .line 134
      StackMap locals: jdk.nashorn.internal.runtime.ScriptObject java.lang.Object java.lang.Object java.lang.Object
      StackMap stack:
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.getREVIVER_INVOKER:()Ljava/lang/invoke/MethodHandle;
            aload 2 /* reviver */
            aload 0 /* holder */
            aload 1 /* name */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            aload 3 /* val */
            invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
        27: areturn
        28: .line 135
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4 /* t */
        start local 4 // java.lang.Throwable t
        29: .line 136
            aload 4 /* t */
            athrow
        end local 4 // java.lang.Throwable t
        30: .line 137
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4 /* t */
        start local 4 // java.lang.Throwable t
        31: .line 138
            new java.lang.RuntimeException
            dup
            aload 4 /* t */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 4 // java.lang.Throwable t
        end local 3 // java.lang.Object val
        end local 2 // java.lang.Object reviver
        end local 1 // java.lang.Object name
        end local 0 // jdk.nashorn.internal.runtime.ScriptObject holder
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   32     0      holder  Ljdk/nashorn/internal/runtime/ScriptObject;
            0   32     1        name  Ljava/lang/Object;
            0   32     2     reviver  Ljava/lang/Object;
            1   32     3         val  Ljava/lang/Object;
            3   26     4    valueObj  Ljdk/nashorn/internal/runtime/ScriptObject;
            5   15     5      length  I
            6   15     6           i  I
            8   13     7         key  Ljava/lang/String;
            9   13     8  newElement  Ljava/lang/Object;
           17   26     5        keys  [Ljava/lang/String;
           19   24     6         key  Ljava/lang/String;
           20   24    10  newElement  Ljava/lang/Object;
           29   30     4           t  Ljava/lang/Throwable;
           31   32     4           t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
          26    27      28  Class java.lang.Error
          26    27      28  Class java.lang.RuntimeException
          26    27      30  Class java.lang.Throwable
    MethodParameters:
         Name  Flags
      holder   final
      name     final
      reviver  final

  private static void setPropertyValue(jdk.nashorn.internal.runtime.ScriptObject, java.lang.String, java.lang.Object);
    descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/String;Ljava/lang/Object;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // jdk.nashorn.internal.runtime.ScriptObject sobj
        start local 1 // java.lang.String name
        start local 2 // java.lang.Object value
         0: .line 144
            aload 1 /* name */
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex:(Ljava/lang/String;)I
            istore 3 /* index */
        start local 3 // int index
         1: .line 145
            iload 3 /* index */
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex:(I)Z
            ifeq 4
         2: .line 147
            aload 0 /* sobj */
            iload 3 /* index */
            aload 2 /* value */
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.defineOwnProperty:(ILjava/lang/Object;)V
         3: .line 148
            goto 8
      StackMap locals: int
      StackMap stack:
         4: aload 0 /* sobj */
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
            aload 1 /* name */
            invokevirtual jdk.nashorn.internal.runtime.PropertyMap.findProperty:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/Property;
            ifnull 7
         5: .line 150
            aload 0 /* sobj */
            aload 1 /* name */
            aload 2 /* value */
            iconst_0
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.set:(Ljava/lang/Object;Ljava/lang/Object;I)V
         6: .line 151
            goto 8
         7: .line 153
      StackMap locals:
      StackMap stack:
            aload 0 /* sobj */
            aload 1 /* name */
            iconst_0
            aload 2 /* value */
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.addOwnProperty:(Ljava/lang/Object;ILjava/lang/Object;)Ljdk/nashorn/internal/runtime/Property;
            pop
         8: .line 155
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int index
        end local 2 // java.lang.Object value
        end local 1 // java.lang.String name
        end local 0 // jdk.nashorn.internal.runtime.ScriptObject sobj
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   sobj  Ljdk/nashorn/internal/runtime/ScriptObject;
            0    9     1   name  Ljava/lang/String;
            0    9     2  value  Ljava/lang/Object;
            1    9     3  index  I
    MethodParameters:
       Name  Flags
      sobj   final
      name   final
      value  final
}
SourceFile: "JSONFunctions.java"
NestMembers:
  jdk.nashorn.internal.runtime.JSONFunctions$1
InnerClasses:
  jdk.nashorn.internal.runtime.JSONFunctions$1