docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class JSONNode

    Class JSONNode.

    Inheritance
    object
    JSONNode
    JSONArray
    JSONBool
    JSONNull
    JSONNumber
    JSONObject
    JSONString
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: SimpleJSON
    Assembly: solution.dll
    Syntax
    public abstract class JSONNode

    Fields

    Name Description
    QuaternionContainerType

    The quaternion container type

    RectContainerType

    The rect container type

    VectorContainerType

    The vector container type

    forceASCII

    The force ASCII

    Properties

    Name Description
    AsArray

    Gets as array.

    AsBool

    Gets or sets a value indicating whether [as bool].

    AsDouble

    Gets or sets as double.

    AsFloat

    Gets or sets as float.

    AsInt

    Gets or sets as int.

    AsObject

    Gets as object.

    Children

    Gets the children.

    Count

    Gets the count.

    DeepChildren

    Gets the deep children.

    Inline

    Gets or sets a value indicating whether this JSONNode is inline.

    IsArray

    Gets a value indicating whether this instance is array.

    IsBoolean

    Gets a value indicating whether this instance is boolean.

    IsNull

    Gets a value indicating whether this instance is null.

    IsNumber

    Gets a value indicating whether this instance is number.

    IsObject

    Gets a value indicating whether this instance is object.

    IsString

    Gets a value indicating whether this instance is string.

    this[int]

    Gets or sets the JSONNode with the specified a index.

    this[string]

    Gets or sets the JSONNode with the specified a key.

    Keys

    Gets the keys.

    Linq

    Gets the linq.

    Tag

    Gets the tag.

    Value

    Gets or sets the value.

    Values

    Gets the values.

    Methods

    Name Description
    Add(JSONNode)

    Adds the specified a item.

    Add(string, JSONNode)

    Adds the specified a key.

    DeserializeBinary(BinaryReader)

    Deserializes the binary.

    Equals(object)

    Determines whether the specified object is equal to this instance.

    GetEnumerator()

    Gets the enumerator.

    GetHashCode()

    Returns a hash code for this instance.

    LoadFromBinaryBase64(string)

    Loads from binary base64.

    LoadFromBinaryFile(string)

    Loads from binary file.

    LoadFromBinaryStream(Stream)

    Loads from binary stream.

    LoadFromCompressedBase64(string)

    Loads from compressed base64.

    LoadFromCompressedFile(string)

    Loads from compressed file.

    LoadFromCompressedStream(Stream)

    Loads from compressed stream.

    Parse(string)

    Parses the specified a json.

    ReadMatrix()

    Reads the matrix.

    ReadQuaternion()

    Reads the quaternion.

    ReadQuaternion(Quaternion)

    Reads the quaternion.

    ReadRect()

    Reads the rect.

    ReadRect(Rect)

    Reads the rect.

    ReadRectOffset()

    Reads the rect offset.

    ReadRectOffset(RectOffset)

    Reads the rect offset.

    ReadVector2()

    Reads the vector2.

    ReadVector2(string, string)

    Reads the vector2.

    ReadVector2(Vector2)

    Reads the vector2.

    ReadVector3()

    Reads the vector3.

    ReadVector3(string, string, string)

    Reads the vector3.

    ReadVector3(Vector3)

    Reads the vector3.

    ReadVector4()

    Reads the vector4.

    ReadVector4(Vector4)

    Reads the vector4.

    Remove(JSONNode)

    Removes the specified a node.

    Remove(int)

    Removes the specified a index.

    Remove(string)

    Removes the specified a key.

    SaveToBinaryBase64()

    Saves to binary base64.

    SaveToBinaryFile(string)

    Saves to binary file.

    SaveToBinaryStream(Stream)

    Saves to binary stream.

    SaveToCompressedBase64()

    Saves to compressed base64.

    SaveToCompressedFile(string)

    Saves to compressed file.

    SaveToCompressedStream(Stream)

    Saves to compressed stream.

    SerializeBinary(BinaryWriter)

    Serializes the binary.

    ToString()

    Returns a string that represents this instance.

    ToString(int)

    Returns a string that represents this instance.

    WriteMatrix(Matrix4x4)

    Writes the matrix.

    WriteQuaternion(Quaternion)

    Writes the quaternion.

    WriteRect(Rect)

    Writes the rect.

    WriteRectOffset(RectOffset)

    Writes the rect offset.

    WriteVector2(Vector2, string, string)

    Writes the vector2.

    WriteVector3(Vector3, string, string, string)

    Writes the vector3.

    WriteVector4(Vector4)

    Writes the vector4.

    Operators

    Name Description
    operator ==(JSONNode, object)

    Implements the == operator.

    implicit operator bool(JSONNode)

    Performs an implicit conversion from JSONNode to bool.

    implicit operator double(JSONNode)

    Performs an implicit conversion from JSONNode to double.

    implicit operator int(JSONNode)

    Performs an implicit conversion from JSONNode to int.

    implicit operator float(JSONNode)

    Performs an implicit conversion from JSONNode to float.

    implicit operator string(JSONNode)

    Performs an implicit conversion from JSONNode to string.

    implicit operator Quaternion(JSONNode)

    Performs an implicit conversion from JSONNode to Quaternion.

    implicit operator Rect(JSONNode)

    Performs an implicit conversion from JSONNode to Rect.

    implicit operator RectOffset(JSONNode)

    Performs an implicit conversion from JSONNode to RectOffset.

    implicit operator Vector2(JSONNode)

    Performs an implicit conversion from JSONNode to Vector2.

    implicit operator Vector3(JSONNode)

    Performs an implicit conversion from JSONNode to Vector3.

    implicit operator Vector4(JSONNode)

    Performs an implicit conversion from JSONNode to Vector4.

    implicit operator JSONNode(bool)

    Performs an implicit conversion from bool to JSONNode.

    implicit operator JSONNode(KeyValuePair<string, JSONNode>)

    Performs an implicit conversion from KeyValuePair<TKey, TValue> to JSONNode.

    implicit operator JSONNode(double)

    Performs an implicit conversion from double to JSONNode.

    implicit operator JSONNode(int)

    Performs an implicit conversion from int to JSONNode.

    implicit operator JSONNode(float)

    Performs an implicit conversion from float to JSONNode.

    implicit operator JSONNode(string)

    Performs an implicit conversion from string to JSONNode.

    implicit operator JSONNode(Quaternion)

    Performs an implicit conversion from Quaternion to JSONNode.

    implicit operator JSONNode(Rect)

    Performs an implicit conversion from Rect to JSONNode.

    implicit operator JSONNode(RectOffset)

    Performs an implicit conversion from RectOffset to JSONNode.

    implicit operator JSONNode(Vector2)

    Performs an implicit conversion from Vector2 to JSONNode.

    implicit operator JSONNode(Vector3)

    Performs an implicit conversion from Vector3 to JSONNode.

    implicit operator JSONNode(Vector4)

    Performs an implicit conversion from Vector4 to JSONNode.

    operator !=(JSONNode, object)

    Implements the != operator.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)