語言

JsonInt64ReaderWriter 類別

定義

讀取並寫入 JSON 的 long 數值。

[System.Runtime.CompilerServices.Nullable(0)]
public sealed class JsonInt64ReaderWriter : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<long>
[<System.Runtime.CompilerServices.Nullable(0)>]
type JsonInt64ReaderWriter = class
    inherit JsonValueReaderWriter<int64>
Public NotInheritable Class JsonInt64ReaderWriter
Inherits JsonValueReaderWriter(Of Long)
繼承
屬性

屬性

名稱 Description
ConstructorExpression

表示此物件建構的表達式。

HandlesNullWrites

若 true, ToJson(Utf8JsonWriter, Object) 則空點會傳遞給寫入者的方法。 否則,空值總是寫成 null。

(繼承來源 JsonValueReaderWriter)
Instance

這是這個無狀態讀寫者的單一例子。

ValueType

讀取/寫入的值類型。

(繼承來源 JsonValueReaderWriter<TValue>)

方法

名稱 Description
FromJson(Utf8JsonReaderManager, Object)

它會從 UTF8 的 JSON 串流或緩衝區讀取該值。

(繼承來源 JsonValueReaderWriter<TValue>)
FromJsonString(String, Object)

從 JSON 讀取字串中的值。

(繼承來源 JsonValueReaderWriter)
FromJsonTyped(Utf8JsonReaderManager, Object)

從 JSON 讀取該值。

ToJson(Utf8JsonWriter, Object)

將值寫入 JSON。

(繼承來源 JsonValueReaderWriter<TValue>)
ToJsonObjectString(String, Object)

回傳一個包含指定屬性與值的 JSON 物件的字串。

(繼承來源 JsonValueReaderWriter)
ToJsonString(Object)

將該值寫入 JSON 字串。

(繼承來源 JsonValueReaderWriter)
ToJsonTyped(Utf8JsonWriter, Int64)

將值寫入 JSON。

ToJsonTyped(Utf8JsonWriter, TValue)

將值寫入 JSON。

(繼承來源 JsonValueReaderWriter<TValue>)

適用於