docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetPayloadAllocationFromJsonAs

    GetPayloadAllocationFromJsonAs<TPayload>(bool)

    Gets the payload allocation, in JSON, and deserializes it as the given object.

    Declaration
    Task<TPayload> GetPayloadAllocationFromJsonAs<TPayload>(bool throwOnMissingMembers = false)
    Parameters
    Type Name Description
    bool throwOnMissingMembers

    Throws an exception if the given class is missing a member.

    Returns
    Type Description
    Task<TPayload>

    An object representing the payload allocation.

    Type Parameters
    Name Description
    TPayload

    The object to be deserialized as.

    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)