JsonMetadataServices クラス

定義

JSON シリアル化可能な型のメタデータを作成および初期化するためのヘルパーを提供します。

public ref class JsonMetadataServices abstract sealed
public static class JsonMetadataServices
type JsonMetadataServices = class
Public Class JsonMetadataServices
継承
JsonMetadataServices

注釈

この API は、System.Text.Json ソース ジェネレーターの出力で使用することを目的としています。 直接呼び出すべきではありません。

プロパティ

名前 説明
BooleanConverter

Boolean値を変換するオブジェクトを取得します。

ByteArrayConverter

バイト配列値を変換するオブジェクトを取得します。

ByteConverter

Byte値を変換するオブジェクトを取得します。

CharConverter

Char値を変換するオブジェクトを取得します。

DateOnlyConverter

DateOnly値を変換するJsonConverter<T> インスタンスを返します。

DateTimeConverter

DateTime値を変換するオブジェクトを取得します。

DateTimeOffsetConverter

DateTimeOffset値を変換するオブジェクトを取得します。

DecimalConverter

Decimal値を変換するオブジェクトを取得します。

DoubleConverter

Double値を変換するオブジェクトを取得します。

GuidConverter

Guid値を変換するオブジェクトを取得します。

HalfConverter

Half値を変換するJsonConverter<T> インスタンスを返します。

Int128Converter

Int128値を変換するJsonConverter<T> インスタンスを返します。

Int16Converter

Int16値を変換するオブジェクトを取得します。

Int32Converter

Int32値を変換するオブジェクトを取得します。

Int64Converter

Int64値を変換するオブジェクトを取得します。

JsonArrayConverter

JsonArray値を変換するオブジェクトを取得します。

JsonDocumentConverter

JsonDocument値を変換するJsonConverter<T> インスタンスを返します。

JsonElementConverter

JsonElement値を変換する JSON コンバーターを取得します。

JsonNodeConverter

JsonNode値を変換するオブジェクトを取得します。

JsonObjectConverter

JsonObject値を変換するオブジェクトを取得します。

JsonValueConverter

JsonValue値を変換するオブジェクトを取得します。

MemoryByteConverter

Memory<T>値を変換するJsonConverter<T> インスタンスを返します。

ObjectConverter

Object値を変換するオブジェクトを取得します。

ReadOnlyMemoryByteConverter

ReadOnlyMemory<T>値を変換するJsonConverter<T> インスタンスを返します。

SByteConverter

SByte値を変換するオブジェクトを取得します。

SingleConverter

Single値を変換するオブジェクトを取得します。

StringConverter

String値を変換するオブジェクトを取得します。

TimeOnlyConverter

TimeOnly値を変換するJsonConverter<T> インスタンスを返します。

TimeSpanConverter

TimeSpan値を変換する JSON コンバーターを取得します。

UInt128Converter

UInt128値を変換するJsonConverter<T> インスタンスを返します。

UInt16Converter

UInt16値を変換するオブジェクトを取得します。

UInt32Converter

UInt32値を変換するオブジェクトを取得します。

UInt64Converter

UInt64値を変換するオブジェクトを取得します。

UriConverter

Uri値を変換するオブジェクトを取得します。

VersionConverter

Version値を変換するオブジェクトを取得します。

メソッド

名前 説明
CreateArrayInfo<TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TElement[]>)

配列のシリアル化メタデータを作成します。

CreateConcurrentQueueInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

ConcurrentQueue<T>に割り当て可能な型のメタデータを作成します。

CreateConcurrentStackInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

ConcurrentStack<T>に割り当て可能な型のメタデータを作成します。

CreateDictionaryInfo<TCollection,TKey,TValue>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

Dictionary<TKey,TValue>に割り当て可能な型のメタデータを作成します。

CreateIAsyncEnumerableInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

IAsyncEnumerable<T>に割り当て可能な型のシリアル化メタデータを作成します。

CreateICollectionInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

ICollection<T>に割り当て可能な型のメタデータを作成します。

CreateIDictionaryInfo<TCollection,TKey,TValue>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

IDictionary<TKey,TValue>に割り当て可能な型のメタデータを作成します。

CreateIDictionaryInfo<TCollection>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

IDictionaryに割り当て可能な型のメタデータを作成します。

CreateIEnumerableInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

IEnumerable<T>に割り当て可能な型のメタデータを作成します。

CreateIEnumerableInfo<TCollection>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

IEnumerableに割り当て可能な型のメタデータを作成します。

CreateIListInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

IList<T>に割り当て可能な型のメタデータを作成します。

CreateIListInfo<TCollection>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

IListに割り当て可能な型のメタデータを作成します。

CreateImmutableDictionaryInfo<TCollection,TKey,TValue>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>, Func<IEnumerable<KeyValuePair<TKey, TValue>>,TCollection>)

IReadOnlyDictionary<TKey,TValue>に割り当て可能なImmutableDictionary<TKey,TValue>と型のメタデータを作成します。

CreateImmutableEnumerableInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>, Func<IEnumerable<TElement>, TCollection>)

ディクショナリ以外の変更できないコレクション型のメタデータを作成します。

CreateIReadOnlyDictionaryInfo<TCollection,TKey,TValue>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

IReadOnlyDictionary<TKey,TValue>に割り当て可能な型のメタデータを作成します。

CreateIReadOnlySetInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

JSON シリアル化可能な型のメタデータを作成および初期化するためのヘルパーを提供します。

CreateISetInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

ISet<T>に割り当て可能な型のメタデータを作成します。

CreateListInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

List<T>に割り当て可能な型のメタデータを作成します。

CreateMemoryInfo<TElement>(JsonSerializerOptions, JsonCollectionInfoValues<Memory<TElement>>)

Memory<T>のシリアル化メタデータを作成します。

CreateObjectInfo<T>(JsonSerializerOptions, JsonObjectInfoValues<T>)

複合クラスまたは構造体のメタデータを作成します。

CreatePropertyInfo<T>(JsonSerializerOptions, JsonPropertyInfoValues<T>)

プロパティまたはフィールドのメタデータを作成します。

CreateQueueInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

Queue<T>に割り当て可能な型のメタデータを作成します。

CreateQueueInfo<TCollection>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>, Action<TCollection,Object>)

Queueに割り当て可能な型のメタデータを作成します。

CreateReadOnlyMemoryInfo<TElement>(JsonSerializerOptions, JsonCollectionInfoValues<ReadOnlyMemory<TElement>>)

ReadOnlyMemory<T>のシリアル化メタデータを作成します。

CreateStackInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)

Stack<T>に割り当て可能な型のメタデータを作成します。

CreateStackInfo<TCollection>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>, Action<TCollection,Object>)

Stackに割り当て可能な型のメタデータを作成します。

CreateValueInfo<T>(JsonSerializerOptions, JsonConverter)

カスタム コンバーターを使用して、プリミティブまたは型のメタデータを作成します。

GetEnumConverter<T>(JsonSerializerOptions)

T値を変換するJsonConverter<T> インスタンスを作成します。

GetNullableConverter<T>(JsonSerializerOptions)

T??値を変換するJsonConverter<T> インスタンスを作成します。

GetNullableConverter<T>(JsonTypeInfo<T>)

T??値を変換するJsonConverter<T> インスタンスを作成します。

GetUnsupportedTypeConverter<T>()

NotSupportedExceptionをスローする型コンバーターを取得します。

適用対象