docs.unity3d.com
    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
    Namespace: Unity.Services.Ccd.Management.Http
    Syntax
    [Preserve]
    public class JsonObject

    Methods

    GetAs<T>(DeserializationSettings)

    Returns the object as a defined type.

    Declaration
    public T GetAs<T>(DeserializationSettings deserializationSettings = null)
    Parameters
    Type Name Description
    DeserializationSettings deserializationSettings

    Deserialization settings for how to handle properties like missing members.

    Returns
    Type Description
    T

    The internal object case to type T.

    Type Parameters
    Name Description
    T

    The type to cast internal object to.

    GetAsString()

    Returns the internal object as a string.

    Declaration
    public string GetAsString()
    Returns
    Type Description
    String

    The internal object as a string.

    Back to top
    Terms of use
    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