Share via


JsonValueReaderWriter Class

Definition

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

public abstract class JsonValueReaderWriter
type JsonValueReaderWriter = class
Public MustInherit Class JsonValueReaderWriter
Inheritance
JsonValueReaderWriter
Derived

Remarks

Implementations of this type must inherit from the generic JsonValueReaderWriter<TValue>

Properties

ValueType

The type of the value being read/written.

Methods

CreateFromType(Type)

Creates a JsonValueReaderWriter<TValue> instance of the given type, using the Instance property to get th singleton instance if possible.

FromJson(Utf8JsonReaderManager, Object)

Reads the value from a UTF8 JSON stream or buffer.

FromJsonString(String, Object)

Reads the value from JSON in a string.

ToJson(Utf8JsonWriter, Object)

Writes the value to JSON.

ToJsonString(Object)

Writes the value to a JSON string.

Applies to