Search Results for

    Show / Hide Table of Contents

    Class PolymorphicClassConverter

    Json converter for polymorphic classes. The converter is meant to be used in attributes only.

    Inheritance
    System.Object
    PolymorphicClassConverter
    Namespace: Simplic.Data.Web
    Assembly: Simplic.Data.Web.dll
    Syntax
    public class PolymorphicClassConverter : JsonConverter

    Properties

    | Improve this Doc View Source

    CanRead

    Declaration
    public override bool CanRead { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    CanWrite

    Declaration
    public override bool CanWrite { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    CanConvert(Type)

    Declaration
    public override bool CanConvert(Type objectType)
    Parameters
    Type Name Description
    Type objectType
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ReadJson(JsonReader, Type, Object, JsonSerializer)

    Deserializes a json object.

    Declaration
    public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonReader reader
    Type objectType
    System.Object existingValue
    JsonSerializer serializer
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    WriteJson(JsonWriter, Object, JsonSerializer)

    Serializes a json object.

    Declaration
    public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonWriter writer
    System.Object value
    JsonSerializer serializer
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx