.class public Lcom/badlogic/gdx/utils/JsonValue;
.super Ljava/lang/Object;
.source "JsonValue.java"

# interfaces
.implements Ljava/lang/Iterable;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;,
        Lcom/badlogic/gdx/utils/JsonValue$JsonIterator;,
        Lcom/badlogic/gdx/utils/JsonValue$ValueType;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/lang/Iterable<",
        "Lcom/badlogic/gdx/utils/JsonValue;",
        ">;"
    }
.end annotation


# instance fields
.field public a:Ljava/lang/String;

.field public b:Lcom/badlogic/gdx/utils/JsonValue;

.field public c:Lcom/badlogic/gdx/utils/JsonValue;

.field public d:Lcom/badlogic/gdx/utils/JsonValue;

.field public e:Lcom/badlogic/gdx/utils/JsonValue;

.field public f:I

.field private g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

.field private h:Ljava/lang/String;

.field private i:D

.field private j:J


# direct methods
.method public constructor <init>(DLjava/lang/String;)V
    .locals 0

    .line 67
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 68
    invoke-virtual {p0, p1, p2, p3}, Lcom/badlogic/gdx/utils/JsonValue;->a(DLjava/lang/String;)V

    return-void
.end method

.method public constructor <init>(JLjava/lang/String;)V
    .locals 0

    .line 71
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 72
    invoke-virtual {p0, p1, p2, p3}, Lcom/badlogic/gdx/utils/JsonValue;->a(JLjava/lang/String;)V

    return-void
.end method

.method public constructor <init>(Lcom/badlogic/gdx/utils/JsonValue$ValueType;)V
    .locals 0

    .line 50
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 51
    iput-object p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;)V
    .locals 0

    .line 55
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 56
    invoke-virtual {p0, p1}, Lcom/badlogic/gdx/utils/JsonValue;->c(Ljava/lang/String;)V

    return-void
.end method

.method public constructor <init>(Z)V
    .locals 0

    .line 75
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 76
    invoke-virtual {p0, p1}, Lcom/badlogic/gdx/utils/JsonValue;->a(Z)V

    return-void
.end method

.method private static a(ILcom/badlogic/gdx/utils/StringBuilder;)V
    .locals 2

    const/4 v0, 0x0

    :goto_0
    if-ge v0, p0, :cond_0

    const/16 v1, 0x9

    .line 1097
    invoke-virtual {p1, v1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method

.method private a(Lcom/badlogic/gdx/utils/JsonValue;Lcom/badlogic/gdx/utils/StringBuilder;ILcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;)V
    .locals 11

    .line 1012
    iget-object v0, p4, Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;->a:Lcom/badlogic/gdx/utils/JsonWriter$OutputType;

    .line 1013
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->j()Z

    move-result v1

    const/16 v2, 0x20

    const/16 v3, 0xa

    const/16 v4, 0x2c

    const/4 v5, 0x1

    if-eqz v1, :cond_9

    .line 1014
    iget-object v1, p1, Lcom/badlogic/gdx/utils/JsonValue;->b:Lcom/badlogic/gdx/utils/JsonValue;

    if-nez v1, :cond_0

    const-string p1, "{}"

    .line 1015
    invoke-virtual {p2, p1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;

    goto/16 :goto_a

    .line 1017
    :cond_0
    invoke-static {p1}, Lcom/badlogic/gdx/utils/JsonValue;->a(Lcom/badlogic/gdx/utils/JsonValue;)Z

    move-result v1

    xor-int/2addr v1, v5

    .line 1018
    invoke-virtual {p2}, Lcom/badlogic/gdx/utils/StringBuilder;->length()I

    move-result v6

    :goto_0
    if-eqz v1, :cond_1

    const-string v7, "{\n"

    goto :goto_1

    :cond_1
    const-string v7, "{ "

    .line 1021
    :goto_1
    invoke-virtual {p2, v7}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 1023
    iget-object v7, p1, Lcom/badlogic/gdx/utils/JsonValue;->b:Lcom/badlogic/gdx/utils/JsonValue;

    :goto_2
    if-eqz v7, :cond_7

    if-eqz v1, :cond_2

    .line 1024
    invoke-static {p3, p2}, Lcom/badlogic/gdx/utils/JsonValue;->a(ILcom/badlogic/gdx/utils/StringBuilder;)V

    .line 1025
    :cond_2
    iget-object v8, v7, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    invoke-virtual {v0, v8}, Lcom/badlogic/gdx/utils/JsonWriter$OutputType;->quoteName(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {p2, v8}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;

    const-string v8, ": "

    .line 1026
    invoke-virtual {p2, v8}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;

    add-int/lit8 v8, p3, 0x1

    .line 1027
    invoke-direct {p0, v7, p2, v8, p4}, Lcom/badlogic/gdx/utils/JsonValue;->a(Lcom/badlogic/gdx/utils/JsonValue;Lcom/badlogic/gdx/utils/StringBuilder;ILcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;)V

    if-eqz v1, :cond_3

    .line 1028
    sget-object v8, Lcom/badlogic/gdx/utils/JsonWriter$OutputType;->minimal:Lcom/badlogic/gdx/utils/JsonWriter$OutputType;

    if-eq v0, v8, :cond_4

    :cond_3
    iget-object v8, v7, Lcom/badlogic/gdx/utils/JsonValue;->c:Lcom/badlogic/gdx/utils/JsonValue;

    if-eqz v8, :cond_4

    invoke-virtual {p2, v4}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    :cond_4
    if-eqz v1, :cond_5

    const/16 v8, 0xa

    goto :goto_3

    :cond_5
    const/16 v8, 0x20

    .line 1029
    :goto_3
    invoke-virtual {p2, v8}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    if-nez v1, :cond_6

    .line 1030
    invoke-virtual {p2}, Lcom/badlogic/gdx/utils/StringBuilder;->length()I

    move-result v8

    sub-int/2addr v8, v6

    iget v9, p4, Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;->b:I

    if-le v8, v9, :cond_6

    .line 1031
    invoke-virtual {p2, v6}, Lcom/badlogic/gdx/utils/StringBuilder;->a(I)V

    const/4 v1, 0x1

    goto :goto_0

    .line 1023
    :cond_6
    iget-object v7, v7, Lcom/badlogic/gdx/utils/JsonValue;->c:Lcom/badlogic/gdx/utils/JsonValue;

    goto :goto_2

    :cond_7
    if-eqz v1, :cond_8

    sub-int/2addr p3, v5

    .line 1038
    invoke-static {p3, p2}, Lcom/badlogic/gdx/utils/JsonValue;->a(ILcom/badlogic/gdx/utils/StringBuilder;)V

    :cond_8
    const/16 p1, 0x7d

    .line 1039
    invoke-virtual {p2, p1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    goto/16 :goto_a

    .line 1041
    :cond_9
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->i()Z

    move-result v1

    if-eqz v1, :cond_15

    .line 1042
    iget-object v1, p1, Lcom/badlogic/gdx/utils/JsonValue;->b:Lcom/badlogic/gdx/utils/JsonValue;

    if-nez v1, :cond_a

    const-string p1, "[]"

    .line 1043
    invoke-virtual {p2, p1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;

    goto/16 :goto_a

    .line 1045
    :cond_a
    invoke-static {p1}, Lcom/badlogic/gdx/utils/JsonValue;->a(Lcom/badlogic/gdx/utils/JsonValue;)Z

    move-result v1

    xor-int/2addr v1, v5

    .line 1046
    iget-boolean v6, p4, Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;->c:Z

    if-nez v6, :cond_c

    invoke-static {p1}, Lcom/badlogic/gdx/utils/JsonValue;->b(Lcom/badlogic/gdx/utils/JsonValue;)Z

    move-result v6

    if-nez v6, :cond_b

    goto :goto_4

    :cond_b
    const/4 v6, 0x0

    goto :goto_5

    :cond_c
    :goto_4
    const/4 v6, 0x1

    .line 1047
    :goto_5
    invoke-virtual {p2}, Lcom/badlogic/gdx/utils/StringBuilder;->length()I

    move-result v7

    :goto_6
    if-eqz v1, :cond_d

    const-string v8, "[\n"

    goto :goto_7

    :cond_d
    const-string v8, "[ "

    .line 1050
    :goto_7
    invoke-virtual {p2, v8}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 1051
    iget-object v8, p1, Lcom/badlogic/gdx/utils/JsonValue;->b:Lcom/badlogic/gdx/utils/JsonValue;

    :goto_8
    if-eqz v8, :cond_13

    if-eqz v1, :cond_e

    .line 1052
    invoke-static {p3, p2}, Lcom/badlogic/gdx/utils/JsonValue;->a(ILcom/badlogic/gdx/utils/StringBuilder;)V

    :cond_e
    add-int/lit8 v9, p3, 0x1

    .line 1053
    invoke-direct {p0, v8, p2, v9, p4}, Lcom/badlogic/gdx/utils/JsonValue;->a(Lcom/badlogic/gdx/utils/JsonValue;Lcom/badlogic/gdx/utils/StringBuilder;ILcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;)V

    if-eqz v1, :cond_f

    .line 1054
    sget-object v9, Lcom/badlogic/gdx/utils/JsonWriter$OutputType;->minimal:Lcom/badlogic/gdx/utils/JsonWriter$OutputType;

    if-eq v0, v9, :cond_10

    :cond_f
    iget-object v9, v8, Lcom/badlogic/gdx/utils/JsonValue;->c:Lcom/badlogic/gdx/utils/JsonValue;

    if-eqz v9, :cond_10

    invoke-virtual {p2, v4}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    :cond_10
    if-eqz v1, :cond_11

    const/16 v9, 0xa

    goto :goto_9

    :cond_11
    const/16 v9, 0x20

    .line 1055
    :goto_9
    invoke-virtual {p2, v9}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    if-eqz v6, :cond_12

    if-nez v1, :cond_12

    .line 1056
    invoke-virtual {p2}, Lcom/badlogic/gdx/utils/StringBuilder;->length()I

    move-result v9

    sub-int/2addr v9, v7

    iget v10, p4, Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;->b:I

    if-le v9, v10, :cond_12

    .line 1057
    invoke-virtual {p2, v7}, Lcom/badlogic/gdx/utils/StringBuilder;->a(I)V

    const/4 v1, 0x1

    goto :goto_6

    .line 1051
    :cond_12
    iget-object v8, v8, Lcom/badlogic/gdx/utils/JsonValue;->c:Lcom/badlogic/gdx/utils/JsonValue;

    goto :goto_8

    :cond_13
    if-eqz v1, :cond_14

    sub-int/2addr p3, v5

    .line 1064
    invoke-static {p3, p2}, Lcom/badlogic/gdx/utils/JsonValue;->a(ILcom/badlogic/gdx/utils/StringBuilder;)V

    :cond_14
    const/16 p1, 0x5d

    .line 1065
    invoke-virtual {p2, p1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    goto :goto_a

    .line 1067
    :cond_15
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->k()Z

    move-result p3

    if-eqz p3, :cond_16

    .line 1068
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->a()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/JsonWriter$OutputType;->quoteValue(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p2, p1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;

    goto :goto_a

    .line 1069
    :cond_16
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->m()Z

    move-result p3

    if-eqz p3, :cond_18

    .line 1070
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->c()D

    move-result-wide p3

    .line 1071
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->d()J

    move-result-wide v0

    long-to-double v0, v0

    cmpl-double p1, p3, v0

    if-nez p1, :cond_17

    move-wide p3, v0

    .line 1072
    :cond_17
    invoke-virtual {p2, p3, p4}, Lcom/badlogic/gdx/utils/StringBuilder;->a(D)Lcom/badlogic/gdx/utils/StringBuilder;

    goto :goto_a

    .line 1073
    :cond_18
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->n()Z

    move-result p3

    if-eqz p3, :cond_19

    .line 1074
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->d()J

    move-result-wide p3

    invoke-virtual {p2, p3, p4}, Lcom/badlogic/gdx/utils/StringBuilder;->a(J)Lcom/badlogic/gdx/utils/StringBuilder;

    goto :goto_a

    .line 1075
    :cond_19
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->o()Z

    move-result p3

    if-eqz p3, :cond_1a

    .line 1076
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->f()Z

    move-result p1

    invoke-virtual {p2, p1}, Lcom/badlogic/gdx/utils/StringBuilder;->a(Z)Lcom/badlogic/gdx/utils/StringBuilder;

    goto :goto_a

    .line 1077
    :cond_1a
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->p()Z

    move-result p3

    if-eqz p3, :cond_1b

    const-string p1, "null"

    .line 1078
    invoke-virtual {p2, p1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;

    :goto_a
    return-void

    .line 1080
    :cond_1b
    new-instance p2, Lcom/badlogic/gdx/utils/SerializationException;

    new-instance p3, Ljava/lang/StringBuilder;

    invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V

    const-string p4, "Unknown object type: "

    invoke-virtual {p3, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p2, p1}, Lcom/badlogic/gdx/utils/SerializationException;-><init>(Ljava/lang/String;)V

    throw p2
.end method

.method private static a(Lcom/badlogic/gdx/utils/JsonValue;)Z
    .locals 1

    .line 1084
    iget-object p0, p0, Lcom/badlogic/gdx/utils/JsonValue;->b:Lcom/badlogic/gdx/utils/JsonValue;

    :goto_0
    if-eqz p0, :cond_2

    .line 1085
    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/JsonValue;->j()Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/JsonValue;->i()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_1

    .line 1084
    :cond_0
    iget-object p0, p0, Lcom/badlogic/gdx/utils/JsonValue;->c:Lcom/badlogic/gdx/utils/JsonValue;

    goto :goto_0

    :cond_1
    :goto_1
    const/4 p0, 0x0

    return p0

    :cond_2
    const/4 p0, 0x1

    return p0
.end method

.method private static b(Lcom/badlogic/gdx/utils/JsonValue;)Z
    .locals 1

    .line 1090
    iget-object p0, p0, Lcom/badlogic/gdx/utils/JsonValue;->b:Lcom/badlogic/gdx/utils/JsonValue;

    :goto_0
    if-eqz p0, :cond_1

    .line 1091
    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/JsonValue;->l()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 p0, 0x0

    return p0

    .line 1090
    :cond_0
    iget-object p0, p0, Lcom/badlogic/gdx/utils/JsonValue;->c:Lcom/badlogic/gdx/utils/JsonValue;

    goto :goto_0

    :cond_1
    const/4 p0, 0x1

    return p0
.end method


# virtual methods
.method public a(Ljava/lang/String;)Lcom/badlogic/gdx/utils/JsonValue;
    .locals 2

    .line 94
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->b:Lcom/badlogic/gdx/utils/JsonValue;

    :goto_0
    if-eqz v0, :cond_0

    .line 95
    iget-object v1, v0, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    invoke-virtual {v1, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 96
    iget-object v0, v0, Lcom/badlogic/gdx/utils/JsonValue;->c:Lcom/badlogic/gdx/utils/JsonValue;

    goto :goto_0

    :cond_0
    return-object v0
.end method

.method public a()Ljava/lang/String;
    .locals 5

    .line 171
    sget-object v0, Lcom/badlogic/gdx/utils/JsonValue$1;->a:[I

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 183
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Value cannot be converted to string: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :pswitch_0
    const/4 v0, 0x0

    return-object v0

    .line 179
    :pswitch_1
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_0

    const-string v0, "true"

    goto :goto_0

    :cond_0
    const-string v0, "false"

    :goto_0
    return-object v0

    .line 177
    :pswitch_2
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    goto :goto_1

    :cond_1
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    invoke-static {v0, v1}, Ljava/lang/Long;->toString(J)Ljava/lang/String;

    move-result-object v0

    :goto_1
    return-object v0

    .line 175
    :pswitch_3
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    goto :goto_2

    :cond_2
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->i:D

    invoke-static {v0, v1}, Ljava/lang/Double;->toString(D)Ljava/lang/String;

    move-result-object v0

    :goto_2
    return-object v0

    .line 173
    :pswitch_4
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    return-object v0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public a(Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;)Ljava/lang/String;
    .locals 2

    .line 1006
    new-instance v0, Lcom/badlogic/gdx/utils/StringBuilder;

    const/16 v1, 0x200

    invoke-direct {v0, v1}, Lcom/badlogic/gdx/utils/StringBuilder;-><init>(I)V

    const/4 v1, 0x0

    .line 1007
    invoke-direct {p0, p0, v0, v1, p1}, Lcom/badlogic/gdx/utils/JsonValue;->a(Lcom/badlogic/gdx/utils/JsonValue;Lcom/badlogic/gdx/utils/StringBuilder;ILcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;)V

    .line 1008
    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public a(Lcom/badlogic/gdx/utils/JsonWriter$OutputType;I)Ljava/lang/String;
    .locals 1

    .line 999
    new-instance v0, Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;

    invoke-direct {v0}, Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;-><init>()V

    .line 1000
    iput-object p1, v0, Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;->a:Lcom/badlogic/gdx/utils/JsonWriter$OutputType;

    .line 1001
    iput p2, v0, Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;->b:I

    .line 1002
    invoke-virtual {p0, v0}, Lcom/badlogic/gdx/utils/JsonValue;->a(Lcom/badlogic/gdx/utils/JsonValue$PrettyPrintSettings;)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 593
    invoke-virtual {p0, p1}, Lcom/badlogic/gdx/utils/JsonValue;->a(Ljava/lang/String;)Lcom/badlogic/gdx/utils/JsonValue;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 594
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->q()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->p()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    invoke-virtual {p1}, Lcom/badlogic/gdx/utils/JsonValue;->a()Ljava/lang/String;

    move-result-object p2

    :cond_1
    :goto_0
    return-object p2
.end method

.method public a(DLjava/lang/String;)V
    .locals 0

    .line 917
    iput-wide p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->i:D

    double-to-long p1, p1

    .line 918
    iput-wide p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    .line 919
    iput-object p3, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    .line 920
    sget-object p1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->doubleValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    iput-object p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    return-void
.end method

.method public a(JLjava/lang/String;)V
    .locals 0

    .line 925
    iput-wide p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    long-to-double p1, p1

    .line 926
    iput-wide p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->i:D

    .line 927
    iput-object p3, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    .line 928
    sget-object p1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->longValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    iput-object p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    return-void
.end method

.method public a(Z)V
    .locals 2

    if-eqz p1, :cond_0

    const-wide/16 v0, 0x1

    goto :goto_0

    :cond_0
    const-wide/16 v0, 0x0

    .line 932
    :goto_0
    iput-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    .line 933
    sget-object p1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->booleanValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    iput-object p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    return-void
.end method

.method public b()F
    .locals 5

    .line 189
    sget-object v0, Lcom/badlogic/gdx/utils/JsonValue$1;->a:[I

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 199
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Value cannot be converted to float: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 197
    :pswitch_0
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_0

    const/high16 v0, 0x3f800000    # 1.0f

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0

    .line 195
    :pswitch_1
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    long-to-float v0, v0

    return v0

    .line 193
    :pswitch_2
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->i:D

    double-to-float v0, v0

    return v0

    .line 191
    :pswitch_3
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v0

    return v0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public b(Ljava/lang/String;)V
    .locals 0

    .line 851
    iput-object p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    return-void
.end method

.method public c()D
    .locals 5

    .line 205
    sget-object v0, Lcom/badlogic/gdx/utils/JsonValue$1;->a:[I

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 215
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Value cannot be converted to double: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 213
    :pswitch_0
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_0

    const-wide/high16 v0, 0x3ff0000000000000L    # 1.0

    goto :goto_0

    :cond_0
    const-wide/16 v0, 0x0

    :goto_0
    return-wide v0

    .line 211
    :pswitch_1
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    long-to-double v0, v0

    return-wide v0

    .line 209
    :pswitch_2
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->i:D

    return-wide v0

    .line 207
    :pswitch_3
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v0

    return-wide v0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public c(Ljava/lang/String;)V
    .locals 0

    .line 911
    iput-object p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    if-nez p1, :cond_0

    .line 912
    sget-object p1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->nullValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    goto :goto_0

    :cond_0
    sget-object p1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->stringValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    :goto_0
    iput-object p1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    return-void
.end method

.method public d()J
    .locals 5

    .line 221
    sget-object v0, Lcom/badlogic/gdx/utils/JsonValue$1;->a:[I

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 231
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Value cannot be converted to long: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 229
    :pswitch_0
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_0

    const-wide/16 v2, 0x1

    :cond_0
    return-wide v2

    .line 227
    :pswitch_1
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    return-wide v0

    .line 225
    :pswitch_2
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->i:D

    double-to-long v0, v0

    return-wide v0

    .line 223
    :pswitch_3
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v0

    return-wide v0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public e()I
    .locals 5

    .line 237
    sget-object v0, Lcom/badlogic/gdx/utils/JsonValue$1;->a:[I

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 247
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Value cannot be converted to int: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 245
    :pswitch_0
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0

    .line 243
    :pswitch_1
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    long-to-int v0, v0

    return v0

    .line 241
    :pswitch_2
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->i:D

    double-to-int v0, v0

    return v0

    .line 239
    :pswitch_3
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    return v0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public f()Z
    .locals 7

    .line 253
    sget-object v0, Lcom/badlogic/gdx/utils/JsonValue$1;->a:[I

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    const-wide/16 v1, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x1

    packed-switch v0, :pswitch_data_0

    .line 263
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Value cannot be converted to boolean: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 261
    :pswitch_0
    iget-wide v5, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    cmp-long v0, v5, v1

    if-eqz v0, :cond_0

    const/4 v3, 0x1

    :cond_0
    return v3

    .line 259
    :pswitch_1
    iget-wide v5, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    cmp-long v0, v5, v1

    if-eqz v0, :cond_1

    const/4 v3, 0x1

    :cond_1
    return v3

    .line 257
    :pswitch_2
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->i:D

    const-wide/16 v5, 0x0

    cmpl-double v2, v0, v5

    if-eqz v2, :cond_2

    const/4 v3, 0x1

    :cond_2
    return v3

    .line 255
    :pswitch_3
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    const-string v1, "true"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    return v0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public g()B
    .locals 5

    .line 269
    sget-object v0, Lcom/badlogic/gdx/utils/JsonValue$1;->a:[I

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 279
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Value cannot be converted to byte: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 277
    :pswitch_0
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0

    .line 275
    :pswitch_1
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    long-to-int v0, v0

    int-to-byte v0, v0

    return v0

    .line 273
    :pswitch_2
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->i:D

    double-to-int v0, v0

    int-to-byte v0, v0

    return v0

    .line 271
    :pswitch_3
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Byte;->parseByte(Ljava/lang/String;)B

    move-result v0

    return v0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public h()S
    .locals 5

    .line 285
    sget-object v0, Lcom/badlogic/gdx/utils/JsonValue$1;->a:[I

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 295
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Value cannot be converted to short: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 293
    :pswitch_0
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0

    .line 291
    :pswitch_1
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->j:J

    long-to-int v0, v0

    int-to-short v0, v0

    return v0

    .line 289
    :pswitch_2
    iget-wide v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->i:D

    double-to-int v0, v0

    int-to-short v0, v0

    return v0

    .line 287
    :pswitch_3
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->h:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Short;->parseShort(Ljava/lang/String;)S

    move-result v0

    return v0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public i()Z
    .locals 2

    .line 799
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->array:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public synthetic iterator()Ljava/util/Iterator;
    .locals 1

    .line 37
    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/JsonValue;->s()Lcom/badlogic/gdx/utils/JsonValue$JsonIterator;

    move-result-object v0

    return-object v0
.end method

.method public j()Z
    .locals 2

    .line 803
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->object:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public k()Z
    .locals 2

    .line 807
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->stringValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public l()Z
    .locals 2

    .line 812
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->doubleValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-eq v0, v1, :cond_1

    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->longValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 v0, 0x1

    :goto_1
    return v0
.end method

.method public m()Z
    .locals 2

    .line 816
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->doubleValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public n()Z
    .locals 2

    .line 820
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->longValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public o()Z
    .locals 2

    .line 824
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->booleanValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public p()Z
    .locals 2

    .line 828
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->nullValue:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public q()Z
    .locals 2

    .line 833
    sget-object v0, Lcom/badlogic/gdx/utils/JsonValue$1;->a:[I

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    const/4 v0, 0x0

    return v0

    :pswitch_0
    const/4 v0, 0x1

    return v0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
    .end packed-switch
.end method

.method public r()Ljava/lang/String;
    .locals 1

    .line 847
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    return-object v0
.end method

.method public s()Lcom/badlogic/gdx/utils/JsonValue$JsonIterator;
    .locals 1

    .line 1105
    new-instance v0, Lcom/badlogic/gdx/utils/JsonValue$JsonIterator;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/JsonValue$JsonIterator;-><init>(Lcom/badlogic/gdx/utils/JsonValue;)V

    return-object v0
.end method

.method public t()Ljava/lang/String;
    .locals 4

    .line 1141
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->e:Lcom/badlogic/gdx/utils/JsonValue;

    if-nez v0, :cond_2

    .line 1142
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->array:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_0

    const-string v0, "[]"

    return-object v0

    .line 1143
    :cond_0
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->object:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_1

    const-string v0, "{}"

    return-object v0

    :cond_1
    const-string v0, ""

    return-object v0

    .line 1147
    :cond_2
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->e:Lcom/badlogic/gdx/utils/JsonValue;

    iget-object v0, v0, Lcom/badlogic/gdx/utils/JsonValue;->g:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonValue$ValueType;->array:Lcom/badlogic/gdx/utils/JsonValue$ValueType;

    if-ne v0, v1, :cond_4

    const-string v0, "[]"

    const/4 v1, 0x0

    .line 1150
    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->e:Lcom/badlogic/gdx/utils/JsonValue;

    iget-object v2, v2, Lcom/badlogic/gdx/utils/JsonValue;->b:Lcom/badlogic/gdx/utils/JsonValue;

    :goto_0
    if-eqz v2, :cond_6

    if-ne v2, p0, :cond_3

    .line 1152
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "["

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, "]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    .line 1150
    :cond_3
    iget-object v2, v2, Lcom/badlogic/gdx/utils/JsonValue;->c:Lcom/badlogic/gdx/utils/JsonValue;

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 1156
    :cond_4
    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    const/16 v1, 0x2e

    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(I)I

    move-result v0

    const/4 v2, -0x1

    if-eq v0, v2, :cond_5

    .line 1157
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, ".\""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    const-string v2, "\""

    const-string v3, "\\\""

    invoke-virtual {v1, v2, v3}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    .line 1159
    :cond_5
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 1160
    :cond_6
    :goto_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->e:Lcom/badlogic/gdx/utils/JsonValue;

    invoke-virtual {v2}, Lcom/badlogic/gdx/utils/JsonValue;->t()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public toString()Ljava/lang/String;
    .locals 3

    .line 994
    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/JsonValue;->q()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/JsonValue;->a()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ": "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/JsonValue;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    .line 995
    :cond_1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    if-nez v1, :cond_2

    const-string v1, ""

    goto :goto_1

    :cond_2
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/badlogic/gdx/utils/JsonValue;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ": "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :goto_1
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget-object v1, Lcom/badlogic/gdx/utils/JsonWriter$OutputType;->minimal:Lcom/badlogic/gdx/utils/JsonWriter$OutputType;

    const/4 v2, 0x0

    invoke-virtual {p0, v1, v2}, Lcom/badlogic/gdx/utils/JsonValue;->a(Lcom/badlogic/gdx/utils/JsonWriter$OutputType;I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
