Share via


JsonUInt16ReaderWriter Class

Definition

Reads and writes JSON for ushort values.

[System.Runtime.CompilerServices.Nullable(0)]
public sealed class JsonUInt16ReaderWriter : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<ushort>
[<System.Runtime.CompilerServices.Nullable(0)>]
type JsonUInt16ReaderWriter = class
    inherit JsonValueReaderWriter<uint16>
Public NotInheritable Class JsonUInt16ReaderWriter
Inherits JsonValueReaderWriter(Of UShort)
Inheritance
Attributes

Properties

Name Description
ConstructorExpression

The expression representing construction of this object.

Instance

The singleton instance of this stateless reader/writer.

ValueType

The type of the value being read/written.

(Inherited from JsonValueReaderWriter<TValue>)

Methods

Name Description
FromJson(Utf8JsonReaderManager, Object)

Reads the value from a UTF8 JSON stream or buffer.

(Inherited from JsonValueReaderWriter<TValue>)
FromJsonString(String, Object)

Reads the value from JSON in a string.

(Inherited from JsonValueReaderWriter)
FromJsonTyped(Utf8JsonReaderManager, Object)

Reads the value from JSON.

ToJson(Utf8JsonWriter, Object)

Writes the value to JSON.

(Inherited from JsonValueReaderWriter<TValue>)
ToJsonObjectString(String, Object)

Returns a string containg a JSON object whith the specified property and value.

(Inherited from JsonValueReaderWriter)
ToJsonString(Object)

Writes the value to a JSON string.

(Inherited from JsonValueReaderWriter)
ToJsonTyped(Utf8JsonWriter, TValue)

Writes the value to JSON.

(Inherited from JsonValueReaderWriter<TValue>)
ToJsonTyped(Utf8JsonWriter, UInt16)

Writes the value to JSON.

Applies to