Share via


SqliteJsonDecimalReaderWriter Class

Definition

The Sqlite-specific JsonValueReaderWrite for decimal. Generates a string representation instead of a JSON number, in order to match our SQLite non-JSON representation.

public sealed class SqliteJsonDecimalReaderWriter : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<decimal>
type SqliteJsonDecimalReaderWriter = class
    inherit JsonValueReaderWriter<decimal>
Public NotInheritable Class SqliteJsonDecimalReaderWriter
Inherits JsonValueReaderWriter(Of Decimal)
Inheritance

Remarks

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Properties

Instance

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

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)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

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, Decimal)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

ToJsonTyped(Utf8JsonWriter, TValue)

Writes the value to JSON.

(Inherited from JsonValueReaderWriter<TValue>)

Applies to