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

  private static final java.lang.Object JSOBJECT_INVOKER;
    descriptor: Ljava/lang/Object;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.Object REPLACER_INVOKER;
    descriptor: Ljava/lang/Object;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static jdk.nashorn.internal.runtime.PropertyMap $nasgenmap$;
    descriptor: Ljdk/nashorn/internal/runtime/PropertyMap;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 60
            ldc Ljdk/nashorn/internal/objects/NativeJSON;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.nashorn.internal.objects.NativeJSON.$assertionsDisabled:Z
         3: .line 61
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putstatic jdk.nashorn.internal.objects.NativeJSON.TO_JSON:Ljava/lang/Object;
         4: .line 73
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putstatic jdk.nashorn.internal.objects.NativeJSON.JSOBJECT_INVOKER:Ljava/lang/Object;
         5: .line 85
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putstatic jdk.nashorn.internal.objects.NativeJSON.REPLACER_INVOKER:Ljava/lang/Object;
         6: .line 100
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static jdk.nashorn.internal.runtime.linker.InvokeByName getTO_JSON();
    descriptor: ()Ljdk/nashorn/internal/runtime/linker/InvokeByName;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 64
            invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
            getstatic jdk.nashorn.internal.objects.NativeJSON.TO_JSON:Ljava/lang/Object;
         1: .line 65
            new jdk.nashorn.internal.objects.NativeJSON$1
            dup
            invokespecial jdk.nashorn.internal.objects.NativeJSON$1.<init>:()V
         2: .line 64
            invokevirtual jdk.nashorn.internal.objects.Global.getInvokeByName:(Ljava/lang/Object;Ljava/util/concurrent/Callable;)Ljdk/nashorn/internal/runtime/linker/InvokeByName;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.invoke.MethodHandle getJSOBJECT_INVOKER();
    descriptor: ()Ljava/lang/invoke/MethodHandle;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 76
            invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
            getstatic jdk.nashorn.internal.objects.NativeJSON.JSOBJECT_INVOKER:Ljava/lang/Object;
         1: .line 77
            new jdk.nashorn.internal.objects.NativeJSON$2
            dup
            invokespecial jdk.nashorn.internal.objects.NativeJSON$2.<init>:()V
         2: .line 76
            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

  private static java.lang.invoke.MethodHandle getREPLACER_INVOKER();
    descriptor: ()Ljava/lang/invoke/MethodHandle;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 88
            invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
            getstatic jdk.nashorn.internal.objects.NativeJSON.REPLACER_INVOKER:Ljava/lang/Object;
         1: .line 89
            new jdk.nashorn.internal.objects.NativeJSON$3
            dup
            invokespecial jdk.nashorn.internal.objects.NativeJSON$3.<init>:()V
         2: .line 88
            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

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.objects.NativeJSON this
         0: .line 102
            aload 0 /* this */
            invokespecial jdk.nashorn.internal.runtime.ScriptObject.<init>:()V
         1: .line 104
            new java.lang.UnsupportedOperationException
            dup
            invokespecial java.lang.UnsupportedOperationException.<init>:()V
            athrow
        end local 0 // jdk.nashorn.internal.objects.NativeJSON this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/nashorn/internal/objects/NativeJSON;

  public static java.lang.Object parse(java.lang.Object, java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // java.lang.Object self
        start local 1 // java.lang.Object text
        start local 2 // java.lang.Object reviver
         0: .line 118
            aload 1 /* text */
            aload 2 /* reviver */
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.parse:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 2 // java.lang.Object reviver
        end local 1 // java.lang.Object text
        end local 0 // java.lang.Object self
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     self  Ljava/lang/Object;
            0    1     1     text  Ljava/lang/Object;
            0    1     2  reviver  Ljava/lang/Object;
    RuntimeVisibleAnnotations: 
      jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
    MethodParameters:
         Name  Flags
      self     final
      text     final
      reviver  final

  public static java.lang.Object stringify(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=10, args_size=4
        start local 0 // java.lang.Object self
        start local 1 // java.lang.Object value
        start local 2 // java.lang.Object replacer
        start local 3 // java.lang.Object space
         0: .line 140
            new jdk.nashorn.internal.objects.NativeJSON$StringifyState
            dup
            invokespecial jdk.nashorn.internal.objects.NativeJSON$StringifyState.<init>:()V
            astore 4 /* state */
        start local 4 // jdk.nashorn.internal.objects.NativeJSON$StringifyState state
         1: .line 143
            aload 2 /* replacer */
            invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isCallable:(Ljava/lang/Object;)Z
            ifeq 4
         2: .line 144
            aload 4 /* state */
            aload 2 /* replacer */
            putfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.replacerFunction:Ljava/lang/Object;
         3: .line 145
            goto 26
      StackMap locals: jdk.nashorn.internal.objects.NativeJSON$StringifyState
      StackMap stack:
         4: aload 2 /* replacer */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.isArray:(Ljava/lang/Object;)Z
            ifne 8
         5: .line 146
            aload 2 /* replacer */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.isJSObjectArray:(Ljava/lang/Object;)Z
            ifne 8
         6: .line 147
            aload 2 /* replacer */
            instanceof java.lang.Iterable
            ifne 8
         7: .line 148
            aload 2 /* replacer */
            ifnull 26
            aload 2 /* replacer */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.isArray:()Z
            ifeq 26
         8: .line 150
      StackMap locals:
      StackMap stack:
            aload 4 /* state */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.propertyList:Ljava/util/List;
         9: .line 152
            aload 2 /* replacer */
            invokestatic jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.arrayLikeIterator:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
            astore 5 /* iter */
        start local 5 // java.util.Iterator iter
        10: .line 154
            goto 25
        11: .line 155
      StackMap locals: java.util.Iterator
      StackMap stack:
            aconst_null
            astore 6 /* item */
        start local 6 // java.lang.String item
        12: .line 156
            aload 5 /* iter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 7 /* v */
        start local 7 // java.lang.Object v
        13: .line 158
            aload 7 /* v */
            instanceof java.lang.String
            ifeq 16
        14: .line 159
            aload 7 /* v */
            checkcast java.lang.String
            astore 6 /* item */
        15: .line 160
            goto 23
      StackMap locals: java.lang.String java.lang.Object
      StackMap stack:
        16: aload 7 /* v */
            instanceof jdk.nashorn.internal.runtime.ConsString
            ifeq 19
        17: .line 161
            aload 7 /* v */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            astore 6 /* item */
        18: .line 162
            goto 23
      StackMap locals:
      StackMap stack:
        19: aload 7 /* v */
            instanceof java.lang.Number
            ifne 22
        20: .line 163
            aload 7 /* v */
            instanceof jdk.nashorn.internal.objects.NativeNumber
            ifne 22
        21: .line 164
            aload 7 /* v */
            instanceof jdk.nashorn.internal.objects.NativeString
            ifeq 23
        22: .line 165
      StackMap locals:
      StackMap stack:
            aload 7 /* v */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            astore 6 /* item */
        23: .line 168
      StackMap locals:
      StackMap stack:
            aload 6 /* item */
            ifnull 25
        24: .line 169
            aload 4 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.propertyList:Ljava/util/List;
            aload 6 /* item */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 7 // java.lang.Object v
        end local 6 // java.lang.String item
        25: .line 154
      StackMap locals:
      StackMap stack:
            aload 5 /* iter */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 11
        end local 5 // java.util.Iterator iter
        26: .line 180
      StackMap locals:
      StackMap stack:
            aload 3 /* space */
            astore 6 /* modSpace */
        start local 6 // java.lang.Object modSpace
        27: .line 181
            aload 6 /* modSpace */
            instanceof jdk.nashorn.internal.objects.NativeNumber
            ifeq 30
        28: .line 182
            aload 6 /* modSpace */
            ldc Ljava/lang/Number;
            invokestatic jdk.nashorn.internal.runtime.JSType.toPrimitive:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
            invokestatic jdk.nashorn.internal.runtime.JSType.toNumber:(Ljava/lang/Object;)D
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            astore 6 /* modSpace */
        29: .line 183
            goto 32
      StackMap locals: java.lang.Object java.lang.Object java.lang.Object java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState top java.lang.Object
      StackMap stack:
        30: aload 6 /* modSpace */
            instanceof jdk.nashorn.internal.objects.NativeString
            ifeq 32
        31: .line 184
            aload 6 /* modSpace */
            ldc Ljava/lang/String;
            invokestatic jdk.nashorn.internal.runtime.JSType.toPrimitive:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            astore 6 /* modSpace */
        32: .line 187
      StackMap locals:
      StackMap stack:
            aload 6 /* modSpace */
            instanceof java.lang.Number
            ifeq 45
        33: .line 188
            bipush 10
            aload 6 /* modSpace */
            invokestatic jdk.nashorn.internal.runtime.JSType.toInteger:(Ljava/lang/Object;)I
            invokestatic java.lang.Math.min:(II)I
            istore 7 /* indent */
        start local 7 // int indent
        34: .line 189
            iload 7 /* indent */
            iconst_1
            if_icmpge 37
        35: .line 190
            ldc ""
            astore 5 /* gap */
        start local 5 // java.lang.String gap
        36: .line 191
            goto 50
        end local 5 // java.lang.String gap
        37: .line 192
      StackMap locals: int
      StackMap stack:
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 8 /* sb */
        start local 8 // java.lang.StringBuilder sb
        38: .line 193
            iconst_0
            istore 9 /* i */
        start local 9 // int i
        39: goto 42
        40: .line 194
      StackMap locals: java.lang.StringBuilder int
      StackMap stack:
            aload 8 /* sb */
            bipush 32
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        41: .line 193
            iinc 9 /* i */ 1
      StackMap locals:
      StackMap stack:
        42: iload 9 /* i */
            iload 7 /* indent */
            if_icmplt 40
        end local 9 // int i
        43: .line 196
            aload 8 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 5 /* gap */
        end local 8 // java.lang.StringBuilder sb
        end local 7 // int indent
        start local 5 // java.lang.String gap
        44: .line 198
            goto 50
        end local 5 // java.lang.String gap
      StackMap locals:
      StackMap stack:
        45: aload 6 /* modSpace */
            invokestatic jdk.nashorn.internal.runtime.JSType.isString:(Ljava/lang/Object;)Z
            ifeq 49
        46: .line 199
            aload 6 /* modSpace */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            astore 7 /* str */
        start local 7 // java.lang.String str
        47: .line 200
            aload 7 /* str */
            iconst_0
            bipush 10
            aload 7 /* str */
            invokevirtual java.lang.String.length:()I
            invokestatic java.lang.Math.min:(II)I
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 5 /* gap */
        end local 7 // java.lang.String str
        start local 5 // java.lang.String gap
        48: .line 201
            goto 50
        end local 5 // java.lang.String gap
        49: .line 202
      StackMap locals:
      StackMap stack:
            ldc ""
            astore 5 /* gap */
        start local 5 // java.lang.String gap
        50: .line 205
      StackMap locals: java.lang.Object java.lang.Object java.lang.Object java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.String java.lang.Object
      StackMap stack:
            aload 4 /* state */
            aload 5 /* gap */
            putfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.gap:Ljava/lang/String;
        51: .line 207
            invokestatic jdk.nashorn.internal.objects.Global.newEmptyInstance:()Ljdk/nashorn/internal/runtime/ScriptObject;
            astore 7 /* wrapper */
        start local 7 // jdk.nashorn.internal.runtime.ScriptObject wrapper
        52: .line 208
            aload 7 /* wrapper */
            ldc ""
            aload 1 /* value */
            iconst_0
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.set:(Ljava/lang/Object;Ljava/lang/Object;I)V
        53: .line 210
            ldc ""
            aload 7 /* wrapper */
            aload 4 /* state */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.str:(Ljava/lang/Object;Ljava/lang/Object;Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;)Ljava/lang/Object;
            areturn
        end local 7 // jdk.nashorn.internal.runtime.ScriptObject wrapper
        end local 6 // java.lang.Object modSpace
        end local 5 // java.lang.String gap
        end local 4 // jdk.nashorn.internal.objects.NativeJSON$StringifyState state
        end local 3 // java.lang.Object space
        end local 2 // java.lang.Object replacer
        end local 1 // java.lang.Object value
        end local 0 // java.lang.Object self
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   54     0      self  Ljava/lang/Object;
            0   54     1     value  Ljava/lang/Object;
            0   54     2  replacer  Ljava/lang/Object;
            0   54     3     space  Ljava/lang/Object;
            1   54     4     state  Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;
           10   26     5      iter  Ljava/util/Iterator<Ljava/lang/Object;>;
           12   25     6      item  Ljava/lang/String;
           13   25     7         v  Ljava/lang/Object;
           36   37     5       gap  Ljava/lang/String;
           44   45     5       gap  Ljava/lang/String;
           48   49     5       gap  Ljava/lang/String;
           50   54     5       gap  Ljava/lang/String;
           27   54     6  modSpace  Ljava/lang/Object;
           34   44     7    indent  I
           38   44     8        sb  Ljava/lang/StringBuilder;
           39   43     9         i  I
           47   48     7       str  Ljava/lang/String;
           52   54     7   wrapper  Ljdk/nashorn/internal/runtime/ScriptObject;
    RuntimeVisibleAnnotations: 
      jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
    MethodParameters:
          Name  Flags
      self      final
      value     final
      replacer  final
      space     final

  private static java.lang.Object str(java.lang.Object, java.lang.Object, jdk.nashorn.internal.objects.NativeJSON$StringifyState);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=7, args_size=3
        start local 0 // java.lang.Object key
        start local 1 // java.lang.Object holder
        start local 2 // jdk.nashorn.internal.objects.NativeJSON$StringifyState state
         0: .line 228
            getstatic jdk.nashorn.internal.objects.NativeJSON.$assertionsDisabled:Z
            ifne 1
            aload 1 /* holder */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            ifne 1
            aload 1 /* holder */
            instanceof jdk.nashorn.api.scripting.JSObject
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 230
      StackMap locals:
      StackMap stack:
            aload 1 /* holder */
            aload 0 /* key */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.getProperty:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            astore 3 /* value */
        start local 3 // java.lang.Object value
         2: .line 232
            aload 3 /* value */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            ifeq 9
         3: .line 233
            invokestatic jdk.nashorn.internal.objects.NativeJSON.getTO_JSON:()Ljdk/nashorn/internal/runtime/linker/InvokeByName;
            astore 4 /* toJSONInvoker */
        start local 4 // jdk.nashorn.internal.runtime.linker.InvokeByName toJSONInvoker
         4: .line 234
            aload 3 /* value */
            checkcast jdk.nashorn.internal.runtime.ScriptObject
            astore 5 /* svalue */
        start local 5 // jdk.nashorn.internal.runtime.ScriptObject svalue
         5: .line 235
            aload 4 /* toJSONInvoker */
            invokevirtual jdk.nashorn.internal.runtime.linker.InvokeByName.getGetter:()Ljava/lang/invoke/MethodHandle;
            aload 5 /* svalue */
            invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/Object;
            astore 6 /* toJSON */
        start local 6 // java.lang.Object toJSON
         6: .line 236
            aload 6 /* toJSON */
            invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isCallable:(Ljava/lang/Object;)Z
            ifeq 14
         7: .line 237
            aload 4 /* toJSONInvoker */
            invokevirtual jdk.nashorn.internal.runtime.linker.InvokeByName.getInvoker:()Ljava/lang/invoke/MethodHandle;
            aload 6 /* toJSON */
            aload 5 /* svalue */
            aload 0 /* key */
            invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/Object;)Ljava/lang/Object;
            astore 3 /* value */
        end local 6 // java.lang.Object toJSON
        end local 5 // jdk.nashorn.internal.runtime.ScriptObject svalue
        end local 4 // jdk.nashorn.internal.runtime.linker.InvokeByName toJSONInvoker
         8: .line 239
            goto 14
      StackMap locals: java.lang.Object
      StackMap stack:
         9: aload 3 /* value */
            instanceof jdk.nashorn.api.scripting.JSObject
            ifeq 14
        10: .line 240
            aload 3 /* value */
            checkcast jdk.nashorn.api.scripting.JSObject
            astore 4 /* jsObj */
        start local 4 // jdk.nashorn.api.scripting.JSObject jsObj
        11: .line 241
            aload 4 /* jsObj */
            ldc "toJSON"
            invokeinterface jdk.nashorn.api.scripting.JSObject.getMember:(Ljava/lang/String;)Ljava/lang/Object;
            astore 5 /* toJSON */
        start local 5 // java.lang.Object toJSON
        12: .line 242
            aload 5 /* toJSON */
            invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isCallable:(Ljava/lang/Object;)Z
            ifeq 14
        13: .line 243
            invokestatic jdk.nashorn.internal.objects.NativeJSON.getJSOBJECT_INVOKER:()Ljava/lang/invoke/MethodHandle;
            aload 5 /* toJSON */
            aload 3 /* value */
            invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            astore 3 /* value */
        end local 5 // java.lang.Object toJSON
        end local 4 // jdk.nashorn.api.scripting.JSObject jsObj
        14: .line 247
      StackMap locals:
      StackMap stack:
            aload 2 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.replacerFunction:Ljava/lang/Object;
            ifnull 21
        15: .line 248
            invokestatic jdk.nashorn.internal.objects.NativeJSON.getREPLACER_INVOKER:()Ljava/lang/invoke/MethodHandle;
            aload 2 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.replacerFunction:Ljava/lang/Object;
            aload 1 /* holder */
            aload 0 /* key */
            aload 3 /* value */
            invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            astore 3 /* value */
        16: .line 250
            goto 21
      StackMap locals:
      StackMap stack: java.lang.Throwable
        17: astore 4 /* t */
        start local 4 // java.lang.Throwable t
        18: .line 251
            aload 4 /* t */
            athrow
        end local 4 // java.lang.Throwable t
        19: .line 252
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4 /* t */
        start local 4 // java.lang.Throwable t
        20: .line 253
            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
        21: .line 255
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            istore 4 /* isObj */
        start local 4 // boolean isObj
        22: .line 256
            iload 4 /* isObj */
            ifeq 31
        23: .line 257
            aload 3 /* value */
            instanceof jdk.nashorn.internal.objects.NativeNumber
            ifeq 26
        24: .line 258
            aload 3 /* value */
            invokestatic jdk.nashorn.internal.runtime.JSType.toNumber:(Ljava/lang/Object;)D
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            astore 3 /* value */
        25: .line 259
            goto 31
      StackMap locals: int
      StackMap stack:
        26: aload 3 /* value */
            instanceof jdk.nashorn.internal.objects.NativeString
            ifeq 29
        27: .line 260
            aload 3 /* value */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            astore 3 /* value */
        28: .line 261
            goto 31
      StackMap locals:
      StackMap stack:
        29: aload 3 /* value */
            instanceof jdk.nashorn.internal.objects.NativeBoolean
            ifeq 31
        30: .line 262
            aload 3 /* value */
            checkcast jdk.nashorn.internal.objects.NativeBoolean
            invokevirtual jdk.nashorn.internal.objects.NativeBoolean.booleanValue:()Z
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            astore 3 /* value */
        31: .line 266
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            ifnonnull 33
        32: .line 267
            ldc "null"
            areturn
        33: .line 268
      StackMap locals:
      StackMap stack:
            getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
            aload 3 /* value */
            invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
            ifeq 35
        34: .line 269
            ldc "true"
            areturn
        35: .line 270
      StackMap locals:
      StackMap stack:
            getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
            aload 3 /* value */
            invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
            ifeq 37
        36: .line 271
            ldc "false"
            areturn
        37: .line 274
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            instanceof java.lang.String
            ifeq 39
        38: .line 275
            aload 3 /* value */
            checkcast java.lang.String
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.quote:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        39: .line 276
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            instanceof jdk.nashorn.internal.runtime.ConsString
            ifeq 41
        40: .line 277
            aload 3 /* value */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.quote:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        41: .line 280
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            instanceof java.lang.Number
            ifeq 45
        42: .line 281
            aload 3 /* value */
            checkcast java.lang.Number
            invokevirtual java.lang.Number.doubleValue:()D
            invokestatic jdk.nashorn.internal.runtime.JSType.isFinite:(D)Z
            ifeq 43
            aload 3 /* value */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            goto 44
      StackMap locals:
      StackMap stack:
        43: ldc "null"
      StackMap locals:
      StackMap stack: java.lang.String
        44: areturn
        45: .line 284
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            invokestatic jdk.nashorn.internal.runtime.JSType.of:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/JSType;
            astore 5 /* type */
        start local 5 // jdk.nashorn.internal.runtime.JSType type
        46: .line 285
            aload 5 /* type */
            getstatic jdk.nashorn.internal.runtime.JSType.OBJECT:Ljdk/nashorn/internal/runtime/JSType;
            if_acmpne 51
        47: .line 286
            aload 3 /* value */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.isArray:(Ljava/lang/Object;)Z
            ifne 48
            aload 3 /* value */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.isJSObjectArray:(Ljava/lang/Object;)Z
            ifeq 49
        48: .line 287
      StackMap locals: jdk.nashorn.internal.runtime.JSType
      StackMap stack:
            aload 3 /* value */
            aload 2 /* state */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.JA:(Ljava/lang/Object;Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;)Ljava/lang/Object;
            areturn
        49: .line 288
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            ifne 50
            aload 3 /* value */
            instanceof jdk.nashorn.api.scripting.JSObject
            ifeq 51
        50: .line 289
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            aload 2 /* state */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.JO:(Ljava/lang/Object;Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;)Ljava/lang/String;
            areturn
        51: .line 293
      StackMap locals:
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            areturn
        end local 5 // jdk.nashorn.internal.runtime.JSType type
        end local 4 // boolean isObj
        end local 3 // java.lang.Object value
        end local 2 // jdk.nashorn.internal.objects.NativeJSON$StringifyState state
        end local 1 // java.lang.Object holder
        end local 0 // java.lang.Object key
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   52     0            key  Ljava/lang/Object;
            0   52     1         holder  Ljava/lang/Object;
            0   52     2          state  Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;
            2   52     3          value  Ljava/lang/Object;
            4    8     4  toJSONInvoker  Ljdk/nashorn/internal/runtime/linker/InvokeByName;
            5    8     5         svalue  Ljdk/nashorn/internal/runtime/ScriptObject;
            6    8     6         toJSON  Ljava/lang/Object;
           11   14     4          jsObj  Ljdk/nashorn/api/scripting/JSObject;
           12   14     5         toJSON  Ljava/lang/Object;
           18   19     4              t  Ljava/lang/Throwable;
           20   21     4              t  Ljava/lang/Throwable;
           22   52     4          isObj  Z
           46   52     5           type  Ljdk/nashorn/internal/runtime/JSType;
      Exception table:
        from    to  target  type
           2    16      17  Class java.lang.Error
           2    16      17  Class java.lang.RuntimeException
           2    16      19  Class java.lang.Throwable
    MethodParameters:
        Name  Flags
      key     final
      holder  final
      state   final

  private static java.lang.String JO(java.lang.Object, jdk.nashorn.internal.objects.NativeJSON$StringifyState);
    descriptor: (Ljava/lang/Object;Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=10, args_size=2
        start local 0 // java.lang.Object value
        start local 1 // jdk.nashorn.internal.objects.NativeJSON$StringifyState state
         0: .line 298
            getstatic jdk.nashorn.internal.objects.NativeJSON.$assertionsDisabled:Z
            ifne 1
            aload 0 /* value */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            ifne 1
            aload 0 /* value */
            instanceof jdk.nashorn.api.scripting.JSObject
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 300
      StackMap locals:
      StackMap stack:
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.stack:Ljava/util/Map;
            aload 0 /* value */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifeq 3
         2: .line 301
            ldc "JSON.stringify.cyclic"
            iconst_0
            anewarray java.lang.String
            invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
            athrow
         3: .line 304
      StackMap locals:
      StackMap stack:
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.stack:Ljava/util/Map;
            aload 0 /* value */
            aload 0 /* value */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 305
            new java.lang.StringBuilder
            dup
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.indent:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            astore 2 /* stepback */
        start local 2 // java.lang.StringBuilder stepback
         5: .line 306
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.indent:Ljava/lang/StringBuilder;
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.gap:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 308
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 3 /* finalStr */
        start local 3 // java.lang.StringBuilder finalStr
         7: .line 309
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* partial */
        start local 4 // java.util.List partial
         8: .line 310
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.propertyList:Ljava/util/List;
            ifnonnull 10
         9: .line 311
            aload 0 /* value */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.getOwnKeys:(Ljava/lang/Object;)[Ljava/lang/String;
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            goto 11
      StackMap locals: java.lang.StringBuilder java.lang.StringBuilder java.util.List
      StackMap stack:
        10: aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.propertyList:Ljava/util/List;
        11: .line 310
      StackMap locals:
      StackMap stack: java.util.List
            astore 5 /* k */
        start local 5 // java.util.List k
        12: .line 313
            aload 5 /* k */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 7
            goto 22
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List top java.util.Iterator
      StackMap stack:
        13: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 6 /* p */
        start local 6 // java.lang.Object p
        14: .line 314
            aload 6 /* p */
            aload 0 /* value */
            aload 1 /* state */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.str:(Ljava/lang/Object;Ljava/lang/Object;Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;)Ljava/lang/Object;
            astore 8 /* strP */
        start local 8 // java.lang.Object strP
        15: .line 316
            aload 8 /* strP */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpeq 22
        16: .line 317
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 9 /* member */
        start local 9 // java.lang.StringBuilder member
        17: .line 319
            aload 9 /* member */
            aload 6 /* p */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokestatic jdk.nashorn.internal.runtime.JSONFunctions.quote:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            bipush 58
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        18: .line 320
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.gap:Ljava/lang/String;
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 20
        19: .line 321
            aload 9 /* member */
            bipush 32
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        20: .line 324
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List java.lang.Object java.util.Iterator java.lang.Object java.lang.StringBuilder
      StackMap stack:
            aload 9 /* member */
            aload 8 /* strP */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            pop
        21: .line 325
            aload 4 /* partial */
            aload 9 /* member */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 9 // java.lang.StringBuilder member
        end local 8 // java.lang.Object strP
        end local 6 // java.lang.Object p
        22: .line 313
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List top java.util.Iterator
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 13
        23: .line 329
            aload 4 /* partial */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 26
        24: .line 330
            aload 3 /* finalStr */
            ldc "{}"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        25: .line 331
            goto 54
        26: .line 332
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List
      StackMap stack:
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.gap:Ljava/lang/String;
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 39
        27: .line 333
            aload 4 /* partial */
            invokeinterface java.util.List.size:()I
            istore 6 /* size */
        start local 6 // int size
        28: .line 334
            iconst_0
            istore 7 /* index */
        start local 7 // int index
        29: .line 336
            aload 3 /* finalStr */
            bipush 123
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        30: .line 338
            aload 4 /* partial */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 9
            goto 36
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List int int top java.util.Iterator
      StackMap stack:
        31: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 8 /* str */
        start local 8 // java.lang.Object str
        32: .line 339
            aload 3 /* finalStr */
            aload 8 /* str */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            pop
        33: .line 340
            iload 7 /* index */
            iload 6 /* size */
            iconst_1
            isub
            if_icmpge 35
        34: .line 341
            aload 3 /* finalStr */
            bipush 44
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        35: .line 343
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List int int java.lang.Object java.util.Iterator
      StackMap stack:
            iinc 7 /* index */ 1
        end local 8 // java.lang.Object str
        36: .line 338
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List int int top java.util.Iterator
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 31
        37: .line 346
            aload 3 /* finalStr */
            bipush 125
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 7 // int index
        end local 6 // int size
        38: .line 347
            goto 54
        39: .line 348
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List
      StackMap stack:
            aload 4 /* partial */
            invokeinterface java.util.List.size:()I
            istore 6 /* size */
        start local 6 // int size
        40: .line 349
            iconst_0
            istore 7 /* index */
        start local 7 // int index
        41: .line 351
            aload 3 /* finalStr */
            ldc "{\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        42: .line 352
            aload 3 /* finalStr */
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.indent:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            pop
        43: .line 354
            aload 4 /* partial */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 9
            goto 50
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List int int top java.util.Iterator
      StackMap stack:
        44: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 8 /* str */
        start local 8 // java.lang.Object str
        45: .line 355
            aload 3 /* finalStr */
            aload 8 /* str */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            pop
        46: .line 356
            iload 7 /* index */
            iload 6 /* size */
            iconst_1
            isub
            if_icmpge 49
        47: .line 357
            aload 3 /* finalStr */
            ldc ",\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        48: .line 358
            aload 3 /* finalStr */
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.indent:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            pop
        49: .line 360
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List int int java.lang.Object java.util.Iterator
      StackMap stack:
            iinc 7 /* index */ 1
        end local 8 // java.lang.Object str
        50: .line 354
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List int int top java.util.Iterator
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 44
        51: .line 363
            aload 3 /* finalStr */
            bipush 10
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        52: .line 364
            aload 3 /* finalStr */
            aload 2 /* stepback */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            pop
        53: .line 365
            aload 3 /* finalStr */
            bipush 125
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 7 // int index
        end local 6 // int size
        54: .line 369
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.lang.StringBuilder java.util.List java.util.List
      StackMap stack:
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.stack:Ljava/util/Map;
            aload 0 /* value */
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        55: .line 370
            aload 1 /* state */
            aload 2 /* stepback */
            putfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.indent:Ljava/lang/StringBuilder;
        56: .line 372
            aload 3 /* finalStr */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 5 // java.util.List k
        end local 4 // java.util.List partial
        end local 3 // java.lang.StringBuilder finalStr
        end local 2 // java.lang.StringBuilder stepback
        end local 1 // jdk.nashorn.internal.objects.NativeJSON$StringifyState state
        end local 0 // java.lang.Object value
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   57     0     value  Ljava/lang/Object;
            0   57     1     state  Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;
            5   57     2  stepback  Ljava/lang/StringBuilder;
            7   57     3  finalStr  Ljava/lang/StringBuilder;
            8   57     4   partial  Ljava/util/List<Ljava/lang/Object;>;
           12   57     5         k  Ljava/util/List<Ljava/lang/String;>;
           14   22     6         p  Ljava/lang/Object;
           15   22     8      strP  Ljava/lang/Object;
           17   22     9    member  Ljava/lang/StringBuilder;
           28   38     6      size  I
           29   38     7     index  I
           32   36     8       str  Ljava/lang/Object;
           40   54     6      size  I
           41   54     7     index  I
           45   50     8       str  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      value  final
      state  final

  private static java.lang.Object JA(java.lang.Object, jdk.nashorn.internal.objects.NativeJSON$StringifyState);
    descriptor: (Ljava/lang/Object;Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=10, args_size=2
        start local 0 // java.lang.Object value
        start local 1 // jdk.nashorn.internal.objects.NativeJSON$StringifyState state
         0: .line 377
            getstatic jdk.nashorn.internal.objects.NativeJSON.$assertionsDisabled:Z
            ifne 1
            aload 0 /* value */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            ifne 1
            aload 0 /* value */
            instanceof jdk.nashorn.api.scripting.JSObject
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 379
      StackMap locals:
      StackMap stack:
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.stack:Ljava/util/Map;
            aload 0 /* value */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifeq 3
         2: .line 380
            ldc "JSON.stringify.cyclic"
            iconst_0
            anewarray java.lang.String
            invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
            athrow
         3: .line 383
      StackMap locals:
      StackMap stack:
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.stack:Ljava/util/Map;
            aload 0 /* value */
            aload 0 /* value */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 384
            new java.lang.StringBuilder
            dup
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.indent:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            astore 2 /* stepback */
        start local 2 // java.lang.StringBuilder stepback
         5: .line 385
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.indent:Ljava/lang/StringBuilder;
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.gap:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 386
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 3 /* partial */
        start local 3 // java.util.List partial
         7: .line 388
            aload 0 /* value */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.getLength:(Ljava/lang/Object;)Ljava/lang/Object;
            invokestatic jdk.nashorn.internal.runtime.JSType.toInteger:(Ljava/lang/Object;)I
            istore 4 /* length */
        start local 4 // int length
         8: .line 389
            iconst_0
            istore 5 /* index */
        start local 5 // int index
         9: .line 391
            goto 15
        10: .line 392
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.util.List int int
      StackMap stack:
            iload 5 /* index */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 0 /* value */
            aload 1 /* state */
            invokestatic jdk.nashorn.internal.objects.NativeJSON.str:(Ljava/lang/Object;Ljava/lang/Object;Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;)Ljava/lang/Object;
            astore 6 /* strP */
        start local 6 // java.lang.Object strP
        11: .line 393
            aload 6 /* strP */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpne 13
        12: .line 394
            ldc "null"
            astore 6 /* strP */
        13: .line 396
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 3 /* partial */
            aload 6 /* strP */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        14: .line 397
            iinc 5 /* index */ 1
        end local 6 // java.lang.Object strP
        15: .line 391
      StackMap locals:
      StackMap stack:
            iload 5 /* index */
            iload 4 /* length */
            if_icmplt 10
        16: .line 400
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 6 /* finalStr */
        start local 6 // java.lang.StringBuilder finalStr
        17: .line 401
            aload 3 /* partial */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 20
        18: .line 402
            aload 6 /* finalStr */
            ldc "[]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        19: .line 403
            goto 48
        20: .line 404
      StackMap locals: java.lang.StringBuilder
      StackMap stack:
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.gap:Ljava/lang/String;
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 33
        21: .line 405
            aload 3 /* partial */
            invokeinterface java.util.List.size:()I
            istore 7 /* size */
        start local 7 // int size
        22: .line 406
            iconst_0
            istore 5 /* index */
        23: .line 407
            aload 6 /* finalStr */
            bipush 91
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        24: .line 408
            aload 3 /* partial */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 9
            goto 30
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.util.List int int java.lang.StringBuilder int top java.util.Iterator
      StackMap stack:
        25: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 8 /* str */
        start local 8 // java.lang.Object str
        26: .line 409
            aload 6 /* finalStr */
            aload 8 /* str */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            pop
        27: .line 410
            iload 5 /* index */
            iload 7 /* size */
            iconst_1
            isub
            if_icmpge 29
        28: .line 411
            aload 6 /* finalStr */
            bipush 44
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        29: .line 413
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.util.List int int java.lang.StringBuilder int java.lang.Object java.util.Iterator
      StackMap stack:
            iinc 5 /* index */ 1
        end local 8 // java.lang.Object str
        30: .line 408
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.util.List int int java.lang.StringBuilder int top java.util.Iterator
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 25
        31: .line 416
            aload 6 /* finalStr */
            bipush 93
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 7 // int size
        32: .line 417
            goto 48
        33: .line 418
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.util.List int int java.lang.StringBuilder
      StackMap stack:
            aload 3 /* partial */
            invokeinterface java.util.List.size:()I
            istore 7 /* size */
        start local 7 // int size
        34: .line 419
            iconst_0
            istore 5 /* index */
        35: .line 420
            aload 6 /* finalStr */
            ldc "[\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        36: .line 421
            aload 6 /* finalStr */
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.indent:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            pop
        37: .line 422
            aload 3 /* partial */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 9
            goto 44
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.util.List int int java.lang.StringBuilder int top java.util.Iterator
      StackMap stack:
        38: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 8 /* str */
        start local 8 // java.lang.Object str
        39: .line 423
            aload 6 /* finalStr */
            aload 8 /* str */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            pop
        40: .line 424
            iload 5 /* index */
            iload 7 /* size */
            iconst_1
            isub
            if_icmpge 43
        41: .line 425
            aload 6 /* finalStr */
            ldc ",\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        42: .line 426
            aload 6 /* finalStr */
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.indent:Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            pop
        43: .line 428
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.util.List int int java.lang.StringBuilder int java.lang.Object java.util.Iterator
      StackMap stack:
            iinc 5 /* index */ 1
        end local 8 // java.lang.Object str
        44: .line 422
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.util.List int int java.lang.StringBuilder int top java.util.Iterator
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 38
        45: .line 431
            aload 6 /* finalStr */
            bipush 10
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        46: .line 432
            aload 6 /* finalStr */
            aload 2 /* stepback */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            pop
        47: .line 433
            aload 6 /* finalStr */
            bipush 93
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 7 // int size
        48: .line 437
      StackMap locals: java.lang.Object jdk.nashorn.internal.objects.NativeJSON$StringifyState java.lang.StringBuilder java.util.List int int java.lang.StringBuilder
      StackMap stack:
            aload 1 /* state */
            getfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.stack:Ljava/util/Map;
            aload 0 /* value */
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        49: .line 438
            aload 1 /* state */
            aload 2 /* stepback */
            putfield jdk.nashorn.internal.objects.NativeJSON$StringifyState.indent:Ljava/lang/StringBuilder;
        50: .line 440
            aload 6 /* finalStr */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 6 // java.lang.StringBuilder finalStr
        end local 5 // int index
        end local 4 // int length
        end local 3 // java.util.List partial
        end local 2 // java.lang.StringBuilder stepback
        end local 1 // jdk.nashorn.internal.objects.NativeJSON$StringifyState state
        end local 0 // java.lang.Object value
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   51     0     value  Ljava/lang/Object;
            0   51     1     state  Ljdk/nashorn/internal/objects/NativeJSON$StringifyState;
            5   51     2  stepback  Ljava/lang/StringBuilder;
            7   51     3   partial  Ljava/util/List<Ljava/lang/Object;>;
            8   51     4    length  I
            9   51     5     index  I
           11   15     6      strP  Ljava/lang/Object;
           17   51     6  finalStr  Ljava/lang/StringBuilder;
           22   32     7      size  I
           26   30     8       str  Ljava/lang/Object;
           34   48     7      size  I
           39   44     8       str  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      value  final
      state  final

  private static java.lang.String[] getOwnKeys(java.lang.Object);
    descriptor: (Ljava/lang/Object;)[Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 444
            aload 0 /* obj */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            ifeq 2
         1: .line 445
            aload 0 /* obj */
            checkcast jdk.nashorn.internal.runtime.ScriptObject
            iconst_0
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getOwnKeys:(Z)[Ljava/lang/String;
            areturn
         2: .line 446
      StackMap locals:
      StackMap stack:
            aload 0 /* obj */
            instanceof jdk.nashorn.api.scripting.ScriptObjectMirror
            ifeq 4
         3: .line 447
            aload 0 /* obj */
            checkcast jdk.nashorn.api.scripting.ScriptObjectMirror
            iconst_0
            invokevirtual jdk.nashorn.api.scripting.ScriptObjectMirror.getOwnKeys:(Z)[Ljava/lang/String;
            areturn
         4: .line 448
      StackMap locals:
      StackMap stack:
            aload 0 /* obj */
            instanceof jdk.nashorn.api.scripting.JSObject
            ifeq 6
         5: .line 452
            aload 0 /* obj */
            checkcast jdk.nashorn.api.scripting.JSObject
            invokeinterface jdk.nashorn.api.scripting.JSObject.keySet:()Ljava/util/Set;
            iconst_0
            anewarray java.lang.String
            invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast java.lang.String[]
            areturn
         6: .line 454
      StackMap locals:
      StackMap stack:
            new java.lang.AssertionError
            dup
            ldc "should not reach here"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0   obj  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      obj   final

  private static java.lang.Object getLength(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 459
            aload 0 /* obj */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            ifeq 2
         1: .line 460
            aload 0 /* obj */
            checkcast jdk.nashorn.internal.runtime.ScriptObject
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getLength:()Ljava/lang/Object;
            areturn
         2: .line 461
      StackMap locals:
      StackMap stack:
            aload 0 /* obj */
            instanceof jdk.nashorn.api.scripting.JSObject
            ifeq 4
         3: .line 462
            aload 0 /* obj */
            checkcast jdk.nashorn.api.scripting.JSObject
            ldc "length"
            invokeinterface jdk.nashorn.api.scripting.JSObject.getMember:(Ljava/lang/String;)Ljava/lang/Object;
            areturn
         4: .line 464
      StackMap locals:
      StackMap stack:
            new java.lang.AssertionError
            dup
            ldc "should not reach here"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0   obj  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      obj   final

  private static boolean isJSObjectArray(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 469
            aload 0 /* obj */
            instanceof jdk.nashorn.api.scripting.JSObject
            ifeq 1
            aload 0 /* obj */
            checkcast jdk.nashorn.api.scripting.JSObject
            invokeinterface jdk.nashorn.api.scripting.JSObject.isArray:()Z
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0   obj  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      obj   final

  private static java.lang.Object getProperty(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // java.lang.Object holder
        start local 1 // java.lang.Object key
         0: .line 473
            aload 0 /* holder */
            instanceof jdk.nashorn.internal.runtime.ScriptObject
            ifeq 2
         1: .line 474
            aload 0 /* holder */
            checkcast jdk.nashorn.internal.runtime.ScriptObject
            aload 1 /* key */
            invokevirtual jdk.nashorn.internal.runtime.ScriptObject.get:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
         2: .line 475
      StackMap locals:
      StackMap stack:
            aload 0 /* holder */
            instanceof jdk.nashorn.api.scripting.JSObject
            ifeq 7
         3: .line 476
            aload 0 /* holder */
            checkcast jdk.nashorn.api.scripting.JSObject
            astore 2 /* jsObj */
        start local 2 // jdk.nashorn.api.scripting.JSObject jsObj
         4: .line 477
            aload 1 /* key */
            instanceof java.lang.Integer
            ifeq 6
         5: .line 478
            aload 2 /* jsObj */
            aload 1 /* key */
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            invokeinterface jdk.nashorn.api.scripting.JSObject.getSlot:(I)Ljava/lang/Object;
            areturn
         6: .line 480
      StackMap locals: jdk.nashorn.api.scripting.JSObject
      StackMap stack:
            aload 2 /* jsObj */
            aload 1 /* key */
            invokestatic java.util.Objects.toString:(Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface jdk.nashorn.api.scripting.JSObject.getMember:(Ljava/lang/String;)Ljava/lang/Object;
            areturn
        end local 2 // jdk.nashorn.api.scripting.JSObject jsObj
         7: .line 483
      StackMap locals:
      StackMap stack:
            new java.lang.AssertionError
            dup
            ldc "should not reach here"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            areturn
        end local 1 // java.lang.Object key
        end local 0 // java.lang.Object holder
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0  holder  Ljava/lang/Object;
            0    8     1     key  Ljava/lang/Object;
            4    7     2   jsObj  Ljdk/nashorn/api/scripting/JSObject;
    MethodParameters:
        Name  Flags
      holder  final
      key     final
}
SourceFile: "NativeJSON.java"
NestMembers:
  jdk.nashorn.internal.objects.NativeJSON$1  jdk.nashorn.internal.objects.NativeJSON$2  jdk.nashorn.internal.objects.NativeJSON$3  jdk.nashorn.internal.objects.NativeJSON$StringifyState
InnerClasses:
  jdk.nashorn.internal.objects.NativeJSON$1
  jdk.nashorn.internal.objects.NativeJSON$2
  jdk.nashorn.internal.objects.NativeJSON$3
  private StringifyState = jdk.nashorn.internal.objects.NativeJSON$StringifyState of jdk.nashorn.internal.objects.NativeJSON
    RuntimeVisibleAnnotations: 
      jdk.nashorn.internal.objects.annotations.ScriptClass(value = "JSON")