docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AuthenticationErrorDetailsInnerJsonConverter

    Custom JSON converter for AuthenticationErrorDetailsInner

    Inheritance
    object
    AuthenticationErrorDetailsInnerJsonConverter
    Namespace: Unity.Services.Apis.PlayerAuthentication
    Assembly: solution.dll
    Syntax
    public class AuthenticationErrorDetailsInnerJsonConverter : JsonConverter

    Methods

    CanConvert(Type)

    Check if the object can be converted

    Declaration
    public override bool CanConvert(Type objectType)
    Parameters
    Type Name Description
    Type objectType

    Object type

    Returns
    Type Description
    bool

    True if the object can be converted

    ReadJson(JsonReader, Type, object, JsonSerializer)

    To convert a JSON string into an object

    Declaration
    public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonReader reader

    JSON reader

    Type objectType

    Object type

    object existingValue

    Existing value

    JsonSerializer serializer

    JSON Serializer

    Returns
    Type Description
    object

    The object converted from the JSON string

    WriteJson(JsonWriter, object, JsonSerializer)

    To write the JSON string

    Declaration
    public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonWriter writer

    JSON writer

    object value

    Object to be converted into a JSON string

    JsonSerializer serializer

    JSON Serializer

    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)