Idioma

JsonValueReaderWriter<TValue> Class

Definition

Reads and writes the JSON value for a given model or provider value.

[System.Runtime.CompilerServices.Nullable(0)]
public abstract class JsonValueReaderWriter<TValue> : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter
[<System.Runtime.CompilerServices.Nullable(0)>]
type JsonValueReaderWriter<'Value> = class
    inherit JsonValueReaderWriter
Public MustInherit Class JsonValueReaderWriter(Of TValue)
Inherits JsonValueReaderWriter

Type Parameters

TValue
Inheritance
JsonValueReaderWriter<TValue>
Derived
Attributes

Constructors

Name Description
JsonValueReaderWriter<TValue>()

Properties

Name Description
ConstructorExpression

The expression representing construction of this object.

(Inherited from JsonValueReaderWriter)
HandlesNullWrites

If true, then the nulls will be passed to the writer's ToJson(Utf8JsonWriter, Object) method. Otherwise null values will always be written as null.

(Inherited from JsonValueReaderWriter)
ValueType

The type of the value being read/written.

Methods

Name Description
FromJson(Utf8JsonReaderManager, Object)

Reads the value from a UTF8 JSON stream or buffer.

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.

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.

Applies to