JsonCastValueReaderWriter<TConverted> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A JsonValueReaderWriter<TValue> that wraps an existing reader/writer and adds casts to the given type.
public class JsonCastValueReaderWriter<TConverted> : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<TConverted>, Microsoft.EntityFrameworkCore.Storage.Internal.ICompositeJsonValueReaderWriter
type JsonCastValueReaderWriter<'Converted> = class
inherit JsonValueReaderWriter<'Converted>
interface ICompositeJsonValueReaderWriter
Public Class JsonCastValueReaderWriter(Of TConverted)
Inherits JsonValueReaderWriter(Of TConverted)
Implements ICompositeJsonValueReaderWriter
Type Parameters
- TConverted
- Inheritance
-
JsonValueReaderWriter<TConverted>JsonCastValueReaderWriter<TConverted>
- Implements
-
Microsoft.EntityFrameworkCore.Storage.Internal.ICompositeJsonValueReaderWriter
Constructors
JsonCastValueReaderWriter<TConverted>(JsonValueReaderWriter) |
Creates a new instance of this reader/writer wrapping the given reader/writer. |
Properties
ConstructorExpression |
The expression representing construction of this object. |
ConstructorExpression |
The expression representing construction of this object. (Inherited from JsonValueReaderWriter) |
ValueType |
The type of the value being read/written. (Inherited from JsonValueReaderWriter<TValue>) |
Methods
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>) |
ToJsonString(Object) |
Writes the value to a JSON string. (Inherited from JsonValueReaderWriter) |
ToJsonTyped(Utf8JsonWriter, TConverted) |
Writes the value to JSON. |
Explicit Interface Implementations
ICompositeJsonValueReaderWriter.InnerReaderWriter |