JsonDateOnlyReaderWriter 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.
Reads and writes JSON for DateOnly values.
public sealed class JsonDateOnlyReaderWriter : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<DateOnly>
type JsonDateOnlyReaderWriter = class
inherit JsonValueReaderWriter<DateOnly>
Public NotInheritable Class JsonDateOnlyReaderWriter
Inherits JsonValueReaderWriter(Of DateOnly)
- Inheritance
Properties
Instance |
The singleton instance of this stateless reader/writer. |
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, DateOnly) |
Writes the value to JSON. |
ToJsonTyped(Utf8JsonWriter, TValue) |
Writes the value to JSON. (Inherited from JsonValueReaderWriter<TValue>) |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework