Class JSONObject | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class JSONObject

    Inheritance
    System.Object
    JSONNode
    JSONObject
    Inherited Members
    JSONNode.forceASCII
    JSONNode.longAsString
    JSONNode.Value
    JSONNode.IsNumber
    JSONNode.IsString
    JSONNode.IsBoolean
    JSONNode.IsNull
    JSONNode.IsArray
    JSONNode.Add(JSONNode)
    JSONNode.DeepChildren
    JSONNode.ToString()
    JSONNode.ToString(Int32)
    JSONNode.Linq
    JSONNode.Keys
    JSONNode.Values
    JSONNode.AsDouble
    JSONNode.AsInt
    JSONNode.AsFloat
    JSONNode.AsBool
    JSONNode.AsLong
    JSONNode.AsArray
    JSONNode.AsObject
    JSONNode.Equals(Object)
    JSONNode.GetHashCode()
    JSONNode.Parse(String)
    Namespace: Unity.UIWidgets.external.simplejson
    Syntax
    public class JSONObject : JSONNode

    Properties

    Children

    Declaration
    public override IEnumerable<JSONNode> Children { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<JSONNode>
    Overrides
    JSONNode.Children

    Count

    Declaration
    public override int Count { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    JSONNode.Count

    Inline

    Declaration
    public override bool Inline { get; set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    JSONNode.Inline

    IsObject

    Declaration
    public override bool IsObject { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    JSONNode.IsObject

    Item[Int32]

    Declaration
    public override JSONNode this[int aIndex] { get; set; }
    Parameters
    Type Name Description
    System.Int32 aIndex
    Property Value
    Type Description
    JSONNode
    Overrides
    JSONNode.Item[Int32]

    Item[String]

    Declaration
    public override JSONNode this[string aKey] { get; set; }
    Parameters
    Type Name Description
    System.String aKey
    Property Value
    Type Description
    JSONNode
    Overrides
    JSONNode.Item[String]

    Tag

    Declaration
    public override JSONNodeType Tag { get; }
    Property Value
    Type Description
    JSONNodeType
    Overrides
    JSONNode.Tag

    Methods

    Add(String, JSONNode)

    Declaration
    public override void Add(string aKey, JSONNode aItem)
    Parameters
    Type Name Description
    System.String aKey
    JSONNode aItem
    Overrides
    JSONNode.Add(String, JSONNode)

    GetEnumerator()

    Declaration
    public override JSONNode.Enumerator GetEnumerator()
    Returns
    Type Description
    JSONNode.Enumerator
    Overrides
    JSONNode.GetEnumerator()

    GetValueOrDefault(String, JSONNode)

    Declaration
    public override JSONNode GetValueOrDefault(string aKey, JSONNode aDefault)
    Parameters
    Type Name Description
    System.String aKey
    JSONNode aDefault
    Returns
    Type Description
    JSONNode
    Overrides
    JSONNode.GetValueOrDefault(String, JSONNode)

    HasKey(String)

    Declaration
    public override bool HasKey(string aKey)
    Parameters
    Type Name Description
    System.String aKey
    Returns
    Type Description
    System.Boolean
    Overrides
    JSONNode.HasKey(String)

    Remove(Int32)

    Declaration
    public override JSONNode Remove(int aIndex)
    Parameters
    Type Name Description
    System.Int32 aIndex
    Returns
    Type Description
    JSONNode
    Overrides
    JSONNode.Remove(Int32)

    Remove(String)

    Declaration
    public override JSONNode Remove(string aKey)
    Parameters
    Type Name Description
    System.String aKey
    Returns
    Type Description
    JSONNode
    Overrides
    JSONNode.Remove(String)

    Remove(JSONNode)

    Declaration
    public override JSONNode Remove(JSONNode aNode)
    Parameters
    Type Name Description
    JSONNode aNode
    Returns
    Type Description
    JSONNode
    Overrides
    JSONNode.Remove(JSONNode)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023