docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class JsonObject

    JsonObject class for encapsulating generic object types. We use this to hide internal Json implementation details.

    Inheritance
    object
    JsonObject
    Implements
    IDeserializable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Lobbies.Http
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class JsonObject : IDeserializable

    Methods

    Name Description
    GetAsString()

    Returns the internal object as a string.

    GetAs<T>()

    Overload for returning the object as a defined type but without needing to specify DeserializationSettings.

    GetAs<T>(DeserializationSettings)

    Returns the object as a defined type.

    GetNewJsonObjectResponse(Dictionary<string, List<object>>)

    Convert dictionary of string, list of object to dictionary of string, list of jsonobject.

    GetNewJsonObjectResponse(Dictionary<string, object>)

    Convert dictionary of string, object to dictionary of string, jsonobject.

    GetNewJsonObjectResponse(List<List<object>>)

    Convert list of list of object to list of list of jsonobject.

    GetNewJsonObjectResponse(List<object>)

    Convert list of object to list of jsonobject.

    GetNewJsonObjectResponse(object)

    Convert object to jsonobject.

    In This Article
    Back to top
    Copyright © 2023 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)