58 types derived from JsonSerializerContext
aspire (2)
Backchannel\BackchannelJsonSerializerContext.cs (1)
34internal partial class BackchannelJsonSerializerContext : JsonSerializerContext
JsonSourceGenerationContext.cs (1)
12internal partial class JsonSourceGenerationContext : JsonSerializerContext
Aspire.Confluent.Kafka (1)
Statistics.cs (1)
59internal sealed partial class StatisticsJsonSerializerContext : JsonSerializerContext
Aspire.Dashboard (2)
Model\GenAI\GenAIEvents.cs (1)
52public sealed partial class GenAIEventsContext : JsonSerializerContext;
Model\GenAI\GenAIMessages.cs (1)
123public sealed partial class GenAIMessagesContext : JsonSerializerContext;
Aspire.Hosting (2)
Dashboard\DashboardEventHandlers.cs (1)
843internal sealed partial class DashboardLogMessageContext : JsonSerializerContext
src\Shared\LaunchProfiles\LaunchSettingsSerializerContext.cs (1)
11internal sealed partial class LaunchSettingsSerializerContext : JsonSerializerContext
Aspire.Hosting.Azure.Functions (1)
src\Shared\LaunchProfiles\LaunchSettingsSerializerContext.cs (1)
11internal sealed partial class LaunchSettingsSerializerContext : JsonSerializerContext
Aspire.Hosting.Nats.Tests (1)
AppEvent.cs (1)
12public partial class AppJsonContext : JsonSerializerContext
Aspire.Hosting.Testing (1)
src\Shared\LaunchProfiles\LaunchSettingsSerializerContext.cs (1)
11internal sealed partial class LaunchSettingsSerializerContext : JsonSerializerContext
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenJsonSerializerContext.cs (1)
9internal sealed partial class BearerTokenJsonSerializerContext : JsonSerializerContext
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
402internal sealed partial class TwitterJsonContext : JsonSerializerContext
Microsoft.AspNetCore.Components.Endpoints (3)
Assets\ImportMapSerializerContext.cs (1)
11internal partial class ImportMapSerializerContext : JsonSerializerContext
Builder\ResourceCollectionUrlEndpoint.cs (1)
156private partial class ResourceCollectionSerializerContext : JsonSerializerContext
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
77internal sealed partial class PrerenderComponentApplicationStoreSerializerContext : JsonSerializerContext;
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitPersistenceManager.cs (1)
232internal partial class CircuitPersistenceManagerSerializerContext : JsonSerializerContext
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
77internal sealed partial class PrerenderComponentApplicationStoreSerializerContext : JsonSerializerContext;
Microsoft.AspNetCore.Components.Web (1)
WebRenderer.cs (1)
190internal sealed partial class WebRendererSerializerContext : JsonSerializerContext;
Microsoft.AspNetCore.Components.WebAssembly (2)
Infrastructure\WebAssemblyJsonSerializerContext.cs (1)
21internal sealed partial class WebAssemblyJsonSerializerContext : JsonSerializerContext;
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
77internal sealed partial class PrerenderComponentApplicationStoreSerializerContext : JsonSerializerContext;
Microsoft.AspNetCore.Components.WebView (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
328internal sealed partial class SourceGenerationContext : JsonSerializerContext
Microsoft.AspNetCore.Diagnostics (1)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
411internal sealed partial class ExtensionsExceptionJsonContext : JsonSerializerContext
Microsoft.AspNetCore.Hosting (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
328internal sealed partial class SourceGenerationContext : JsonSerializerContext
Microsoft.AspNetCore.Http.Extensions (1)
ProblemDetailsJsonContext.cs (1)
15internal sealed partial class ProblemDetailsJsonContext : JsonSerializerContext
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (1)
105public partial class SharedTestJsonContext : JsonSerializerContext
Microsoft.AspNetCore.Http.Results.Tests (3)
HttpResultsHelperTests.cs (1)
255private partial class TestJsonContext : JsonSerializerContext
ResultsTests.cs (1)
1789private partial class StringJsonContext : JsonSerializerContext
TypedResultsTests.cs (1)
1502private partial class ObjectJsonContext : JsonSerializerContext
Microsoft.AspNetCore.Identity (2)
Data\IdentityEndpointsJsonSerializerContext.cs (1)
18internal sealed partial class IdentityEndpointsJsonSerializerContext : JsonSerializerContext
IdentityJsonSerializerContext.cs (1)
20internal partial class IdentityJsonSerializerContext : JsonSerializerContext;
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
315private partial class TestJsonContext : JsonSerializerContext
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
404private sealed partial class CustomJsonSerializerContext : JsonSerializerContext;
Microsoft.AspNetCore.OpenApi (1)
Schemas\OpenApiJsonSchemaContext.cs (1)
12internal sealed partial class OpenApiJsonSchemaContext : JsonSerializerContext { }
Microsoft.AspNetCore.SignalR.Tests (1)
NativeAotTests.cs (1)
443internal partial class AppJsonSerializerContext : JsonSerializerContext
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsManifestJsonContext.cs (1)
9internal partial class StaticAssetsManifestJsonContext : JsonSerializerContext
Microsoft.CodeAnalysis.LanguageServer (1)
FileBasedPrograms\RunApiModels.cs (1)
87internal partial class RunFileApiJsonSerializerContext : JsonSerializerContext;
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
632private sealed partial class OtelContext : JsonSerializerContext;
Microsoft.Extensions.AI.Abstractions (2)
Utilities\AIJsonUtilities.Defaults.cs (2)
120private sealed partial class JsonContext : JsonSerializerContext; 127private sealed partial class JsonContextNoIndentation : JsonSerializerContext;
Microsoft.Extensions.AI.Abstractions.Tests (4)
test\Shared\JsonSchemaExporter\SchemaTestHelpers.cs (1)
81private partial class Context : JsonSerializerContext;
test\Shared\JsonSchemaExporter\TestTypes.cs (1)
1314public partial class TestTypesContext : JsonSerializerContext;
TestJsonSerializerContext.cs (1)
40internal sealed partial class TestJsonSerializerContext : JsonSerializerContext;
Utilities\AIJsonUtilitiesTests.cs (1)
1393private partial class JsonContext : JsonSerializerContext;
Microsoft.Extensions.AI.AzureAIInference (1)
JsonContext.cs (1)
15internal sealed partial class JsonContext : JsonSerializerContext;
Microsoft.Extensions.AI.Evaluation.Quality (1)
JsonSerialization\SerializerContext.cs (1)
14internal sealed partial class SerializerContext : JsonSerializerContext;
Microsoft.Extensions.AI.Evaluation.Reporting (1)
JsonSerialization\JsonUtilities.cs (1)
61private sealed partial class JsonContext : JsonSerializerContext;
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
JsonSerialization\AzureStorageJsonUtilities.cs (1)
57private sealed partial class JsonContext : JsonSerializerContext;
Microsoft.Extensions.AI.OpenAI (1)
OpenAIJsonContext.cs (1)
21internal sealed partial class OpenAIJsonContext : JsonSerializerContext;
Microsoft.Extensions.AI.Tests (4)
ChatCompletion\ChatClientStructuredOutputExtensionsTests.cs (1)
468private partial class JsonContext2 : JsonSerializerContext;
ChatCompletion\CustomAIContentJsonContext.cs (1)
10internal sealed partial class CustomAIContentJsonContext : JsonSerializerContext;
Functions\AIFunctionFactoryTest.cs (1)
1050private partial class JsonContext : JsonSerializerContext;
TestJsonSerializerContext.cs (1)
30internal sealed partial class TestJsonSerializerContext : JsonSerializerContext;
Microsoft.Maui (1)
Handlers\HybridWebView\HybridWebViewHandler.cs (1)
313 private partial class HybridWebViewHandlerJsonContext : JsonSerializerContext
Microsoft.ML.Tokenizers (1)
Model\ModelSourceGenerationContext.cs (1)
12internal partial class ModelSourceGenerationContext : JsonSerializerContext;
Nats.Common (1)
AppEvent.cs (1)
12public partial class AppJsonContext : JsonSerializerContext
Shared.Tests (2)
JsonSchemaExporter\SchemaTestHelpers.cs (1)
81private partial class Context : JsonSerializerContext;
JsonSchemaExporter\TestTypes.cs (1)
1314public partial class TestTypesContext : JsonSerializerContext;
Wasm.Performance.TestApp (1)
PersonJsonContext.cs (1)
9internal sealed partial class PersonJsonContext : JsonSerializerContext
137 references to JsonSerializerContext
aspire (2)
BackchannelJsonSerializerContext.g.cs (1)
17/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
JsonSourceGenerationContext.g.cs (1)
20/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Aspire.Confluent.Kafka (1)
StatisticsJsonSerializerContext.g.cs (1)
19/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Aspire.Dashboard (2)
GenAIEventsContext.g.cs (1)
21/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
GenAIMessagesContext.g.cs (1)
21/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Aspire.Hosting (2)
DashboardLogMessageContext.g.cs (1)
17/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
LaunchSettingsSerializerContext.g.cs (1)
20/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Aspire.Hosting.Azure.Functions (1)
LaunchSettingsSerializerContext.g.cs (1)
20/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Aspire.Hosting.Nats.Tests (1)
artifacts\obj\Aspire.Hosting.Nats.Tests\Debug\net8.0\System.Text.Json.SourceGeneration\System.Text.Json.SourceGeneration.JsonSourceGenerator\AppJsonContext.g.cs (1)
20/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Aspire.Hosting.Testing (1)
LaunchSettingsSerializerContext.g.cs (1)
20/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenJsonSerializerContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterJsonContext.g.cs (1)
24/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Components.Endpoints (3)
ImportMapSerializerContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
PrerenderComponentApplicationStoreSerializerContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
ResourceCollectionSerializerContext.g.cs (1)
28/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Components.Server (2)
CircuitPersistenceManagerSerializerContext.g.cs (1)
24/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
PrerenderComponentApplicationStoreSerializerContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Components.Web (1)
WebRendererSerializerContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Components.WebAssembly (2)
PrerenderComponentApplicationStoreSerializerContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
WebAssemblyJsonSerializerContext.g.cs (1)
27/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Components.WebView (1)
SourceGenerationContext.g.cs (1)
26/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Diagnostics (1)
ExtensionsExceptionJsonContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Hosting (1)
SourceGenerationContext.g.cs (1)
26/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Http.Extensions (5)
HttpRequestJsonExtensions.cs (1)
314JsonSerializerContext context,
HttpResponseJsonExtensions.cs (2)
313JsonSerializerContext context, 331static async Task WriteAsJsonAsyncSlow(PipeWriter body, object? value, Type type, JsonSerializerContext context,
ProblemDetailsJsonContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
src\Shared\Json\JsonSerializerExtensions.cs (1)
25public static JsonTypeInfo GetRequiredTypeInfo(this JsonSerializerContext context, Type type)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
SharedTestJsonContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Http.Results (4)
Results.cs (2)
220public static IResult Json(object? data, Type type, JsonSerializerContext context, string? contentType = null, int? statusCode = null) 274public static IResult Json<TValue>(TValue? data, JsonSerializerContext context, string? contentType = null, int? statusCode = null)
src\Shared\Json\JsonSerializerExtensions.cs (1)
25public static JsonTypeInfo GetRequiredTypeInfo(this JsonSerializerContext context, Type type)
TypedResults.cs (1)
232public static JsonHttpResult<TValue> Json<TValue>(TValue? data, JsonSerializerContext context, string? contentType = null, int? statusCode = null)
Microsoft.AspNetCore.Http.Results.Tests (3)
ObjectJsonContext.g.cs (1)
24/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
StringJsonContext.g.cs (1)
24/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
TestJsonContext.g.cs (1)
24/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Identity (2)
IdentityEndpointsJsonSerializerContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
IdentityJsonSerializerContext.g.cs (1)
26/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
25public static JsonTypeInfo GetRequiredTypeInfo(this JsonSerializerContext context, Type type)
Microsoft.AspNetCore.Mvc.Core.Test (1)
TestJsonContext.g.cs (1)
24/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Mvc.Testing (1)
CustomJsonSerializerContext.g.cs (1)
24/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.OpenApi (1)
OpenApiJsonSchemaContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.Routing (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
25public static JsonTypeInfo GetRequiredTypeInfo(this JsonSerializerContext context, Type type)
Microsoft.AspNetCore.SignalR.Tests (1)
AppJsonSerializerContext.g.cs (1)
24/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsManifestJsonContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.CodeAnalysis.LanguageServer (1)
RunFileApiJsonSerializerContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Microsoft.ML.Tokenizers (1)
ModelSourceGenerationContext.g.cs (1)
17/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
Nats.Common (1)
AppJsonContext.g.cs (1)
20/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.
System.Memory.Data (2)
System\BinaryData.cs (2)
103/// <param name="context">The <see cref="JsonSerializerContext" /> to use when serializing to JSON.</param> 107public BinaryData(object? jsonSerializable, JsonSerializerContext context, Type? type = default) : this(
System.Net.Http.Json (7)
System\Net\Http\Json\HttpClientJsonExtensions.cs (1)
27private static Task<object?> FromJsonAsyncCore(Func<HttpClient, Uri?, CancellationToken, Task<HttpResponseMessage>> getMethod, HttpClient client, Uri? requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken = default) =>
System\Net\Http\Json\HttpClientJsonExtensions.Delete.cs (2)
91public static Task<object?> DeleteFromJsonAsync(this HttpClient client, [StringSyntax(StringSyntaxAttribute.Uri)] string? requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken = default) => 104public static Task<object?> DeleteFromJsonAsync(this HttpClient client, Uri? requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken = default) =>
System\Net\Http\Json\HttpClientJsonExtensions.Get.cs (2)
41public static Task<object?> GetFromJsonAsync(this HttpClient client, [StringSyntax(StringSyntaxAttribute.Uri)] string? requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken = default) => 44public static Task<object?> GetFromJsonAsync(this HttpClient client, Uri? requestUri, Type type, JsonSerializerContext context, CancellationToken cancellationToken = default) =>
System\Net\Http\Json\HttpContentJsonExtensions.cs (2)
102public static Task<object?> ReadFromJsonAsync(this HttpContent content, Type type, JsonSerializerContext context, CancellationToken cancellationToken = default) 116private static async Task<object?> ReadFromJsonAsyncCore(HttpContent content, Type type, JsonSerializerContext context, CancellationToken cancellationToken)
System.Text.Json (79)
src\libraries\System.Text.Json\Common\JsonSerializableAttribute.cs (1)
33/// the type on the generated, derived <see cref="JsonSerializerContext"/> type.
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
7/// Specifies compile-time source generator configuration when applied to <see cref="JsonSerializerContext"/> class declarations.
System\Text\Json\Serialization\Attributes\JsonRequiredAttribute.cs (1)
13/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>,
System\Text\Json\Serialization\JsonConverterOfT.cs (1)
664if (!IsInternalConverter && options.TypeInfoResolver is not JsonSerializerContext)
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (1)
55private static JsonTypeInfo GetTypeInfo(JsonSerializerContext context, Type inputType)
System\Text\Json\Serialization\JsonSerializer.Read.Document.cs (2)
152/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 155public static object? Deserialize(this JsonDocument document, Type returnType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Read.Element.cs (2)
136/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 139public static object? Deserialize(this JsonElement element, Type returnType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Read.Node.cs (2)
127/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 130public static object? Deserialize(this JsonNode? node, Type returnType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Read.Pipe.cs (2)
138/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method on the provided <paramref name="context"/> 144JsonSerializerContext context,
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (2)
124/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method on the provided <paramref name="context"/> 127public static object? Deserialize(ReadOnlySpan<byte> utf8Json, Type returnType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Read.Stream.cs (4)
294/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method on the provided <paramref name="context"/> 300JsonSerializerContext context, 332/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method on the provided <paramref name="context"/> 338JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Read.String.cs (4)
321/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 327public static object? Deserialize([StringSyntax(StringSyntaxAttribute.Json)] string json, Type returnType, JsonSerializerContext context) 366/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 372public static object? Deserialize([StringSyntax(StringSyntaxAttribute.Json)] ReadOnlySpan<char> json, Type returnType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (2)
236/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method on the provided <paramref name="context"/> 262public static object? Deserialize(ref Utf8JsonReader reader, Type returnType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Write.ByteArray.cs (2)
117/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 120public static byte[] SerializeToUtf8Bytes(object? value, Type inputType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Write.Document.cs (2)
108/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 114public static JsonDocument SerializeToDocument(object? value, Type inputType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Write.Element.cs (2)
108/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 114public static JsonElement SerializeToElement(object? value, Type inputType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Write.Node.cs (2)
109/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 115public static JsonNode? SerializeToNode(object? value, Type inputType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Write.Pipe.cs (1)
120JsonSerializerContext context,
System\Text\Json\Serialization\JsonSerializer.Write.Stream.cs (2)
268JsonSerializerContext context, 300JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (4)
127/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 134/// encoding since the implementation internally uses UTF-8. See also <see cref="SerializeToUtf8Bytes(object?, Type, JsonSerializerContext)"/> 135/// and <see cref="SerializeAsync(IO.Stream, object?, Type, JsonSerializerContext, Threading.CancellationToken)"/>. 137public static string Serialize(object? value, Type inputType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializer.Write.Utf8JsonWriter.cs (2)
129/// The <see cref="JsonSerializerContext.GetTypeInfo(Type)"/> method of the provided 132public static void Serialize(Utf8JsonWriter writer, object? value, Type inputType, JsonSerializerContext context)
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
87/// Creates an instance of <see cref="JsonSerializerContext"/> and binds it with the indicated <see cref="JsonSerializerOptions"/>.
System\Text\Json\Serialization\JsonSerializerOptions.cs (5)
207/// Binds current <see cref="JsonSerializerOptions"/> instance with a new instance of the specified <see cref="Serialization.JsonSerializerContext"/> type. 216public void AddContext<TContext>() where TContext : JsonSerializerContext, new() 900/// has been associated with a <see cref="JsonSerializerContext"/> instance, 977case JsonSerializerContext ctx when AppContextSwitchHelper.IsSourceGenReflectionFallbackEnabled: 1107ThrowHelper.ThrowInvalidOperationException_SerializerOptionsReadOnly(_typeInfoResolver as JsonSerializerContext);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (3)
131internal static void PopulateProperties(JsonTypeInfo typeInfo, JsonTypeInfo.JsonPropertyInfoList propertyList, Func<JsonSerializerContext, JsonPropertyInfo[]> propInitFunc) 138JsonSerializerContext? context = typeInfo.Options.TypeInfoResolver as JsonSerializerContext;
System\Text\Json\Serialization\Metadata\JsonObjectInfoValuesOfT.cs (1)
33public Func<JsonSerializerContext, JsonPropertyInfo[]>? PropertyMetadataInitializer { get; init; }
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (1)
66/// Contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>,
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (8)
239/// Contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 275/// Contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 314/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 342/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 347/// <see langword="required"/> keyword is currently not supported in <see cref="JsonSerializerContext"/> contracts. 785/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 830/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 1041/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>,
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (14)
89/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 118/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 148/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 178/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 214/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 275internal Func<JsonSerializerContext, JsonPropertyInfo[]>? SourceGenDelayedPropertyInitializer 286private Func<JsonSerializerContext, JsonPropertyInfo[]>? _sourceGenDelayedPropertyInitializer; 303/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 338/// has been associated with a <see cref="JsonSerializerContext"/> instance, 497/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 533/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 577/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>, 608/// Metadata used to determine the <see cref="JsonSerializerContext.GeneratedSerializerOptions"/> 619if (value is JsonSerializerContext)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.cs (1)
45/// For contracts originating from <see cref="DefaultJsonTypeInfoResolver"/> or <see cref="JsonSerializerContext"/>,
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolver.cs (2)
22/// Can be used to combine multiple <see cref="JsonSerializerContext"/> sources, 43/// Can be used to combine multiple <see cref="JsonSerializerContext"/> sources,
System\Text\Json\ThrowHelper.Serialization.cs (1)
233public static void ThrowInvalidOperationException_SerializerOptionsReadOnly(JsonSerializerContext? context)
Wasm.Performance.TestApp (1)
PersonJsonContext.g.cs (1)
22/// The default <see cref="global::System.Text.Json.Serialization.JsonSerializerContext"/> associated with a default <see cref="global::System.Text.Json.JsonSerializerOptions"/> instance.