47 implementations of IJsonTypeInfoResolver
aspire (2)
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal partial class BackchannelJsonSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
JsonSourceGenerationContext.GetJsonTypeInfo.g.cs (1)
11internal partial class JsonSourceGenerationContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Aspire.Confluent.Kafka (1)
StatisticsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class StatisticsJsonSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Aspire.Dashboard (2)
GenAIEventsContext.GetJsonTypeInfo.g.cs (1)
11public sealed partial class GenAIEventsContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
GenAIMessagesContext.GetJsonTypeInfo.g.cs (1)
11public sealed partial class GenAIMessagesContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Aspire.Hosting (2)
DashboardLogMessageContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class DashboardLogMessageContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
LaunchSettingsSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class LaunchSettingsSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Aspire.Hosting.Azure.Functions (1)
LaunchSettingsSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class LaunchSettingsSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Aspire.Hosting.Nats.Tests (1)
artifacts\obj\Aspire.Hosting.Nats.Tests\Debug\net8.0\System.Text.Json.SourceGeneration\System.Text.Json.SourceGeneration.JsonSourceGenerator\AppJsonContext.GetJsonTypeInfo.g.cs (1)
11public partial class AppJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Aspire.Hosting.Testing (1)
LaunchSettingsSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class LaunchSettingsSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class BearerTokenJsonSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterJsonContext.GetJsonTypeInfo.g.cs (1)
13internal sealed partial class TwitterJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Components.Endpoints (3)
ImportMapSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal partial class ImportMapSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class PrerenderComponentApplicationStoreSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
ResourceCollectionSerializerContext.GetJsonTypeInfo.g.cs (1)
13private partial class ResourceCollectionSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Components.Server (2)
CircuitPersistenceManagerSerializerContext.GetJsonTypeInfo.g.cs (1)
13internal partial class CircuitPersistenceManagerSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class PrerenderComponentApplicationStoreSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Components.Web (2)
src\Components\Shared\src\JsonSerialization\JsonConverterFactoryTypeInfoResolver.cs (1)
13internal sealed class JsonConverterFactoryTypeInfoResolver<T> : IJsonTypeInfoResolver
WebRendererSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class WebRendererSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Components.WebAssembly (2)
PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class PrerenderComponentApplicationStoreSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
WebAssemblyJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class WebAssemblyJsonSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Components.WebView (1)
SourceGenerationContext.GetJsonTypeInfo.g.cs (1)
13internal sealed partial class SourceGenerationContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Diagnostics (1)
ExtensionsExceptionJsonContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class ExtensionsExceptionJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\MessageTypeInfoResolver.cs (1)
16internal sealed class MessageTypeInfoResolver : IJsonTypeInfoResolver
Microsoft.AspNetCore.Hosting (1)
SourceGenerationContext.GetJsonTypeInfo.g.cs (1)
13internal sealed partial class SourceGenerationContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Http.Extensions (1)
ProblemDetailsJsonContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class ProblemDetailsJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Http.Microbenchmarks (1)
SharedTestJsonContext.GetJsonTypeInfo.g.cs (1)
11public partial class SharedTestJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Http.Results.Tests (3)
ObjectJsonContext.GetJsonTypeInfo.g.cs (1)
13private partial class ObjectJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
StringJsonContext.GetJsonTypeInfo.g.cs (1)
13private partial class StringJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
TestJsonContext.GetJsonTypeInfo.g.cs (1)
13private partial class TestJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Identity (2)
IdentityEndpointsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class IdentityEndpointsJsonSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
IdentityJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal partial class IdentityJsonSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Mvc.Core.Test (1)
TestJsonContext.GetJsonTypeInfo.g.cs (1)
13private partial class TestJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.Mvc.Testing (1)
CustomJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
13private sealed partial class CustomJsonSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.OpenApi (1)
OpenApiJsonSchemaContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class OpenApiJsonSchemaContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.SignalR.Tests (1)
AppJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
13internal partial class AppJsonSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsManifestJsonContext.GetJsonTypeInfo.g.cs (1)
11internal partial class StaticAssetsManifestJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.CodeAnalysis.LanguageServer (1)
RunFileApiJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
11internal partial class RunFileApiJsonSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Microsoft.ML.Tokenizers (1)
ModelSourceGenerationContext.GetJsonTypeInfo.g.cs (1)
11internal partial class ModelSourceGenerationContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
Nats.Common (1)
AppJsonContext.GetJsonTypeInfo.g.cs (1)
11public partial class AppJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
System.Text.Json (6)
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
12public abstract partial class JsonSerializerContext : IJsonTypeInfoResolver, IBuiltInJsonTypeInfoResolver
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.cs (1)
16public partial class DefaultJsonTypeInfoResolver : IJsonTypeInfoResolver, IBuiltInJsonTypeInfoResolver
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolver.cs (1)
94internal sealed class EmptyJsonTypeInfoResolver : IJsonTypeInfoResolver, IBuiltInJsonTypeInfoResolver
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolverChain.cs (2)
6internal class JsonTypeInfoResolverChain : ConfigurationList<IJsonTypeInfoResolver>, IJsonTypeInfoResolver, IBuiltInJsonTypeInfoResolver
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolverWithAddedModifiers.cs (1)
8internal sealed class JsonTypeInfoResolverWithAddedModifiers : IJsonTypeInfoResolver
Wasm.Performance.TestApp (1)
PersonJsonContext.GetJsonTypeInfo.g.cs (1)
11internal sealed partial class PersonJsonContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
86 references to IJsonTypeInfoResolver
aspire (2)
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
JsonSourceGenerationContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Aspire.Confluent.Kafka (1)
StatisticsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Aspire.Dashboard (2)
GenAIEventsContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
GenAIMessagesContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Aspire.Hosting (2)
DashboardLogMessageContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
LaunchSettingsSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Aspire.Hosting.Azure.Functions (1)
LaunchSettingsSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Aspire.Hosting.Nats.Tests (1)
artifacts\obj\Aspire.Hosting.Nats.Tests\Debug\net8.0\System.Text.Json.SourceGeneration\System.Text.Json.SourceGeneration.JsonSourceGenerator\AppJsonContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Aspire.Hosting.Testing (1)
LaunchSettingsSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterJsonContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Components.Endpoints (3)
ImportMapSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
ResourceCollectionSerializerContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Components.Server (2)
CircuitPersistenceManagerSerializerContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Components.Web (1)
WebRendererSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Components.WebAssembly (2)
PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
WebAssemblyJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Components.WebView (1)
SourceGenerationContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Diagnostics (1)
ExtensionsExceptionJsonContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\JsonConverterHelper.cs (1)
40var typeInfoResolver = JsonTypeInfoResolver.Combine(
Microsoft.AspNetCore.Hosting (1)
SourceGenerationContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Http.Extensions (2)
JsonOptions.cs (1)
38private static IJsonTypeInfoResolver CreateDefaultTypeResolver()
ProblemDetailsJsonContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
SharedTestJsonContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Http.Results.Tests (3)
ObjectJsonContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
StringJsonContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
TestJsonContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Identity (2)
IdentityEndpointsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
IdentityJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Adapters\ObjectAdapter.cs (1)
45/// Gets or sets the <see cref="IJsonTypeInfoResolver"/>.
Microsoft.AspNetCore.Mvc.Core (1)
JsonOptions.cs (1)
48private static IJsonTypeInfoResolver CreateDefaultTypeResolver()
Microsoft.AspNetCore.Mvc.Core.Test (3)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
285Assert.IsAssignableFrom<IJsonTypeInfoResolver>(stjOutputFormatter.SerializerOptions.TypeInfoResolver);
JsonOptionsTest.cs (1)
26Assert.IsAssignableFrom<IJsonTypeInfoResolver>(options.TypeInfoResolver);
TestJsonContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.Mvc.Testing (1)
CustomJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.OpenApi (1)
OpenApiJsonSchemaContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.SignalR.Tests (1)
AppJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
22global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsManifestJsonContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.CodeAnalysis.LanguageServer (1)
RunFileApiJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.cs (1)
196IJsonTypeInfoResolver resolver = options.TypeInfoResolver ?? DefaultOptions.TypeInfoResolver!;
Microsoft.ML.Tokenizers (1)
ModelSourceGenerationContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
Nats.Common (1)
AppJsonContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
System.Text.Json (40)
System\Text\Json\Serialization\Converters\Object\ObjectConverter.cs (2)
73private readonly IJsonTypeInfoResolver _originatingResolver; 75public SlimObjectConverter(IJsonTypeInfoResolver originatingResolver)
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
110JsonTypeInfo? IJsonTypeInfoResolver.GetTypeInfo(Type type, JsonSerializerOptions options)
System\Text\Json\Serialization\JsonSerializerOptions.cs (6)
77private IJsonTypeInfoResolver? _typeInfoResolver; 236public IJsonTypeInfoResolver? TypeInfoResolver 268public IList<IJsonTypeInfoResolver> TypeInfoResolverChain => _typeInfoResolverChain ??= new(this); 1018private IJsonTypeInfoResolver? _effectiveJsonTypeInfoResolver; 1022IJsonTypeInfoResolver? resolver = _effectiveJsonTypeInfoResolver ?? _typeInfoResolver; 1142protected override void ValidateAddedValue(IJsonTypeInfoResolver item)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
602/// Gets or sets the <see cref="IJsonTypeInfoResolver"/> from which this metadata instance originated. 612public IJsonTypeInfoResolver? OriginatingResolver 631private IJsonTypeInfoResolver? _originatingResolver;
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolver.cs (18)
7/// Contains utilities and combinators acting on <see cref="IJsonTypeInfoResolver"/>. 12/// Combines multiple <see cref="IJsonTypeInfoResolver"/> sources into one. 15/// <returns>A <see cref="IJsonTypeInfoResolver"/> combining results from <paramref name="resolvers"/>.</returns> 26public static IJsonTypeInfoResolver Combine(params IJsonTypeInfoResolver?[] resolvers) 30return Combine((ReadOnlySpan<IJsonTypeInfoResolver?>)resolvers); 34/// Combines multiple <see cref="IJsonTypeInfoResolver"/> sources into one. 37/// <returns>A <see cref="IJsonTypeInfoResolver"/> combining results from <paramref name="resolvers"/>.</returns> 47public static IJsonTypeInfoResolver Combine(params ReadOnlySpan<IJsonTypeInfoResolver?> resolvers) 50foreach (IJsonTypeInfoResolver? resolver in resolvers) 63/// <returns>A new <see cref="IJsonTypeInfoResolver"/> instance applying the modifications.</returns> 66/// extended to arbitrary <see cref="IJsonTypeInfoResolver"/> instances. 68public static IJsonTypeInfoResolver WithAddedModifier(this IJsonTypeInfoResolver resolver, Action<JsonTypeInfo> modifier) 81internal static IJsonTypeInfoResolver Empty { get; } = new EmptyJsonTypeInfoResolver(); 87internal static bool IsCompatibleWithOptions(this IJsonTypeInfoResolver? resolver, JsonSerializerOptions options) 92/// A <see cref="IJsonTypeInfoResolver"/> that returns null for all inputs.
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolverChain.cs (4)
15foreach (IJsonTypeInfoResolver resolver in _list) 27internal void AddFlattened(IJsonTypeInfoResolver? resolver) 46foreach (IJsonTypeInfoResolver component in _list) 60foreach (IJsonTypeInfoResolver resolver in _list)
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolverWithAddedModifiers.cs (2)
10private readonly IJsonTypeInfoResolver _source; 13public JsonTypeInfoResolverWithAddedModifiers(IJsonTypeInfoResolver source, Action<JsonTypeInfo>[] modifiers)
System\Text\Json\ThrowHelper.Serialization.cs (4)
853public static void ThrowNotSupportedException_NoMetadataForType(Type type, IJsonTypeInfoResolver? resolver) 870public static void ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver? resolver) 875public static Exception GetInvalidOperationException_NoMetadataForTypeProperties(IJsonTypeInfoResolver? resolver, Type type) 881public static void ThrowInvalidOperationException_NoMetadataForTypeProperties(IJsonTypeInfoResolver? resolver, Type type)
Wasm.Performance.TestApp (1)
PersonJsonContext.GetJsonTypeInfo.g.cs (1)
20global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)