Search Results for

    Show / Hide Table of Contents

    Class HandleOscTypesOnSourceJsonConverter

    Inheritance
    object
    JsonConverter
    HandleOscTypesOnSourceJsonConverter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client.JsonNetSerializer.Converters
    Assembly: OpenSearch.Client.JsonNetSerializer.dll
    Syntax
    public class HandleOscTypesOnSourceJsonConverter : JsonConverter

    Constructors

    | Edit this page View Source

    HandleOscTypesOnSourceJsonConverter(IOpenSearchSerializer, IMemoryStreamFactory)

    Declaration
    public HandleOscTypesOnSourceJsonConverter(IOpenSearchSerializer builtInSerializer, IMemoryStreamFactory memoryStreamFactory)
    Parameters
    Type Name Description
    IOpenSearchSerializer builtInSerializer
    IMemoryStreamFactory memoryStreamFactory

    Properties

    | Edit this page View Source

    CanRead

    Gets a value indicating whether this Newtonsoft.Json.JsonConverter can read JSON.

    Declaration
    public override bool CanRead { get; }
    Property Value
    Type Description
    bool

    true if this Newtonsoft.Json.JsonConverter can read JSON; otherwise, false.

    Overrides
    Newtonsoft.Json.JsonConverter.CanRead
    | Edit this page View Source

    CanWrite

    Gets a value indicating whether this Newtonsoft.Json.JsonConverter can write JSON.

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

    true if this Newtonsoft.Json.JsonConverter can write JSON; otherwise, false.

    Overrides
    Newtonsoft.Json.JsonConverter.CanWrite

    Methods

    | Edit this page View Source

    CanConvert(Type)

    Determines whether this instance can convert the specified object type.

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

    Type of the object.

    Returns
    Type Description
    bool

    true if this instance can convert the specified object type; otherwise, false.

    Overrides
    JsonConverter.CanConvert(Type)
    | Edit this page View Source

    ReadJson(JsonReader, Type, object, JsonSerializer)

    Reads the JSON representation of the object.

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

    The Newtonsoft.Json.JsonReader to read from.

    Type objectType

    Type of the object.

    object existingValue

    The existing value of object being read.

    JsonSerializer serializer

    The calling serializer.

    Returns
    Type Description
    object

    The object value.

    Overrides
    JsonConverter.ReadJson(JsonReader, Type, object, JsonSerializer)
    | Edit this page View Source

    WriteJson(JsonWriter, object, JsonSerializer)

    Writes the JSON representation of the object.

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

    The Newtonsoft.Json.JsonWriter to write to.

    object value

    The value.

    JsonSerializer serializer

    The calling serializer.

    Overrides
    JsonConverter.WriteJson(JsonWriter, object, JsonSerializer)

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • HandleOscTypesOnSourceJsonConverter(IOpenSearchSerializer, IMemoryStreamFactory)
    • Properties
      • CanRead
      • CanWrite
    • Methods
      • CanConvert(Type)
      • ReadJson(JsonReader, Type, object, JsonSerializer)
      • WriteJson(JsonWriter, object, JsonSerializer)
    • Extension Methods
    Back to top Generated by DocFX