Table of Contents

Internal classSealedInternal LeanCorpusJsonContext

Namespace
Rowles.LeanCorpus.Serialization
Assembly
Rowles.LeanCorpus.dll
[JsonSerializable(typeof(CommitData))]
[JsonSerializable(typeof(SegmentInfo))]
[JsonSerializable(typeof(VectorFieldInfo))]
[JsonSerializable(typeof(IndexStatsDto))]
[JsonSerializable(typeof(SegmentStatsDto))]
[JsonSerializable(typeof(SearchEvent))]
[JsonSerializable(typeof(SlowQueryEntry))]
[JsonSerializable(typeof(IndexMigrationMarker))]
[JsonSerializable(typeof(IndexCodecMigrationAction))]
[JsonSerializable(typeof(IndexBackupManifest))]
[JsonSerializable(typeof(IndexBackupFileEntry))]
internal sealed class LeanCorpusJsonContext : JsonSerializerContext, IJsonTypeInfoResolver
LeanCorpusJsonContext

Public constructor LeanCorpusJsonContext()

Public constructor LeanCorpusJsonContext(JsonSerializerOptions)

Creates an instance of System.Text.Json.Serialization.JsonSerializerContext and binds it with the indicated System.Text.Json.JsonSerializerOptions.

Public property Boolean

Defines the source generated JSON serialization contract metadata for a given type.

Public property Byte

Defines the source generated JSON serialization contract metadata for a given type.

Public property CommitData

Defines the source generated JSON serialization contract metadata for a given type.

Public property DateTime

Defines the source generated JSON serialization contract metadata for a given type.

Public property DateTimeOffset

Defines the source generated JSON serialization contract metadata for a given type.

Public property Default

The default System.Text.Json.Serialization.JsonSerializerContext associated with a default System.Text.Json.JsonSerializerOptions instance.

Public property DictionaryStringInt32

Defines the source generated JSON serialization contract metadata for a given type.

Public property DictionaryStringInt64

Defines the source generated JSON serialization contract metadata for a given type.

Public property DictionaryStringSingle

Defines the source generated JSON serialization contract metadata for a given type.

Public property Double

Defines the source generated JSON serialization contract metadata for a given type.

Public property GeneratedSerializerOptions

The source-generated options associated with this context.

Public property IReadOnlyListIndexCodecMigrationAction

Defines the source generated JSON serialization contract metadata for a given type.

Public property IndexBackupFileEntry

Defines the source generated JSON serialization contract metadata for a given type.

Public property IndexBackupManifest

Defines the source generated JSON serialization contract metadata for a given type.

Public property IndexCodecMigrationAction

Defines the source generated JSON serialization contract metadata for a given type.

Public property IndexCodecMigrationActionKind

Defines the source generated JSON serialization contract metadata for a given type.

Public property IndexMigrationMarker

Defines the source generated JSON serialization contract metadata for a given type.

Public property IndexMigrationState

Defines the source generated JSON serialization contract metadata for a given type.

Public property IndexStatsDto

Defines the source generated JSON serialization contract metadata for a given type.

Public property Int32

Defines the source generated JSON serialization contract metadata for a given type.

Public property Int64

Defines the source generated JSON serialization contract metadata for a given type.

Public property ListIndexBackupFileEntry

Defines the source generated JSON serialization contract metadata for a given type.

Public property ListString

Defines the source generated JSON serialization contract metadata for a given type.

Public property ListVectorFieldInfo

Defines the source generated JSON serialization contract metadata for a given type.

Public property NullableByte

Defines the source generated JSON serialization contract metadata for a given type.

Public property NullableInt32

Defines the source generated JSON serialization contract metadata for a given type.

Public property SearchEvent

Defines the source generated JSON serialization contract metadata for a given type.

Public property SegmentInfo

Defines the source generated JSON serialization contract metadata for a given type.

Public property SegmentStatsDto

Defines the source generated JSON serialization contract metadata for a given type.

Public property Single

Defines the source generated JSON serialization contract metadata for a given type.

Public property SlowQueryEntry

Defines the source generated JSON serialization contract metadata for a given type.

Public property String

Defines the source generated JSON serialization contract metadata for a given type.

Public property UInt32

Defines the source generated JSON serialization contract metadata for a given type.

Public property VectorFieldInfo

Defines the source generated JSON serialization contract metadata for a given type.

Public method GetTypeInfo(Type)

Gets metadata for the specified type.

Public method IJsonTypeInfoResolver.GetTypeInfo(Type, JsonSerializerOptions)

Resolves a System.Text.Json.Serialization.Metadata.JsonTypeInfo contract for the requested type and options.