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

    Class JSONNumber

    Inheritance
    System.Object
    JSONNode
    JSONNumber
    Inherited Members
    JSONNode.forceASCII
    JSONNode.longAsString
    JSONNode.Item[Int32]
    JSONNode.Item[String]
    JSONNode.Count
    JSONNode.IsString
    JSONNode.IsBoolean
    JSONNode.IsNull
    JSONNode.IsArray
    JSONNode.IsObject
    JSONNode.Inline
    JSONNode.Add(String, JSONNode)
    JSONNode.Add(JSONNode)
    JSONNode.Remove(String)
    JSONNode.Remove(Int32)
    JSONNode.Remove(JSONNode)
    JSONNode.Children
    JSONNode.DeepChildren
    JSONNode.HasKey(String)
    JSONNode.GetValueOrDefault(String, JSONNode)
    JSONNode.ToString()
    JSONNode.ToString(Int32)
    JSONNode.Linq
    JSONNode.Keys
    JSONNode.Values
    JSONNode.AsInt
    JSONNode.AsFloat
    JSONNode.AsBool
    JSONNode.AsArray
    JSONNode.AsObject
    JSONNode.Parse(String)
    Namespace: Unity.UIWidgets.external.simplejson
    Syntax
    public class JSONNumber : JSONNode

    Constructors

    JSONNumber(Double)

    Declaration
    public JSONNumber(double aData)
    Parameters
    Type Name Description
    System.Double aData

    JSONNumber(String)

    Declaration
    public JSONNumber(string aData)
    Parameters
    Type Name Description
    System.String aData

    Properties

    AsDouble

    Declaration
    public override double AsDouble { get; set; }
    Property Value
    Type Description
    System.Double
    Overrides
    JSONNode.AsDouble

    AsLong

    Declaration
    public override long AsLong { get; set; }
    Property Value
    Type Description
    System.Int64
    Overrides
    JSONNode.AsLong

    IsNumber

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

    Tag

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

    Value

    Declaration
    public override string Value { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    JSONNode.Value

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    JSONNode.Equals(Object)

    GetEnumerator()

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    JSONNode.GetHashCode()
    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