55 instantiations of Utf8JsonReader
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
180var reader = new Utf8JsonReader(jsonData, new JsonReaderOptions
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
536Utf8JsonReader reader = new(bytes);
Microsoft.AspNetCore.Components (1)
PersistentComponentState.cs (1)
106var reader = new Utf8JsonReader(data);
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\BlazorPackHubProtocolWorker.cs (1)
59var jsonReader = new Utf8JsonReader(bytes.Value);
Microsoft.AspNetCore.Components.Server.Tests (4)
ElementReferenceJsonConverterTest.cs (4)
46var reader = new Utf8JsonReader(bytes); 66var reader = new Utf8JsonReader(bytes); 86var reader = new Utf8JsonReader(bytes); 105var reader = new Utf8JsonReader(bytes);
Microsoft.AspNetCore.Components.Web.Tests (12)
WebEventData\ChangeEventArgsReaderTest.cs (1)
66var jsonReader = new Utf8JsonReader(json);
WebEventData\ClipboardEventArgsReaderTest.cs (1)
30var jsonReader = new Utf8JsonReader(json);
WebEventData\DragEventArgsReaderTest.cs (1)
84var jsonReader = new Utf8JsonReader(json);
WebEventData\ErrorEventArgsReaderTest.cs (1)
39var jsonReader = new Utf8JsonReader(json);
WebEventData\FocusEventArgsReaderTest.cs (1)
31var jsonReader = new Utf8JsonReader(json);
WebEventData\KeyboardEventArgsReaderTest.cs (1)
49var jsonReader = new Utf8JsonReader(json);
WebEventData\MouseEventArgsReaderTest.cs (1)
69var jsonReader = new Utf8JsonReader(json);
WebEventData\PointerEventArgsReaderTest.cs (1)
61var jsonReader = new Utf8JsonReader(json);
WebEventData\ProgressEventArgsReaderTest.cs (1)
36var jsonReader = new Utf8JsonReader(json);
WebEventData\TouchEventArgsReaderTest.cs (1)
114var jsonReader = new Utf8JsonReader(json);
WebEventData\WebEventDescriptorReaderTest.cs (1)
68var jsonReader = new Utf8JsonReader(json);
WebEventData\WheelEventArgsReaderTest.cs (1)
54var jsonReader = new Utf8JsonReader(json);
Microsoft.AspNetCore.Http.Abstractions.Tests (5)
HttpValidationProblemDetailsJsonConverterTest.cs (2)
59var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json)); 102var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json));
ProblemDetailsJsonConverterTest.cs (3)
25var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json)); 42var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json)); 137var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json));
Microsoft.AspNetCore.Http.Connections.Common (1)
NegotiateProtocol.cs (1)
150var reader = new Utf8JsonReader(content, isFinalBlock: true, state: default);
Microsoft.AspNetCore.Mvc.Core.Test (2)
Infrastructure\ValidationProblemDetailsJsonConverterTest.cs (2)
26var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json)); 68var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json));
Microsoft.AspNetCore.SignalR.Common (2)
Protocol\HandshakeProtocol.cs (2)
124var reader = new Utf8JsonReader(payload, isFinalBlock: true, state: default); 178var reader = new Utf8JsonReader(payload, isFinalBlock: true, state: default);
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
146var reader = new Utf8JsonReader(input, isFinalBlock: true, state: default);
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultJsonSerializerFactory.cs (1)
23var reader = new Utf8JsonReader(source);
Microsoft.Extensions.DependencyModel (1)
DependencyContextJsonReader.cs (1)
29return Read(new Utf8JsonReader(buffer, isFinalBlock: true, state: default));
Microsoft.JSInterop (2)
Infrastructure\DotNetDispatcher.cs (2)
229var reader = new Utf8JsonReader(buffer.AsSpan(0, count)); 315var reader = new Utf8JsonReader(utf8JsonBytes);
Microsoft.JSInterop.Tests (8)
JSRuntimeTest.cs (8)
59var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes("null")); 115var reader = new Utf8JsonReader(bytes); 137var reader = new Utf8JsonReader(bytes); 161var reader = new Utf8JsonReader(bytes); 190var reader = new Utf8JsonReader(bytes); 218var reader = new Utf8JsonReader(bytes); 245var firstReader = new Utf8JsonReader(Encoding.UTF8.GetBytes("\"Some data\"")); 246var secondReader = new Utf8JsonReader(Encoding.UTF8.GetBytes("\"Exception\""));
System.Text.Json (12)
System\Text\Json\Document\JsonDocument.cs (1)
957Utf8JsonReader reader = new Utf8JsonReader(
System\Text\Json\Nodes\JsonValue.cs (1)
146Utf8JsonReader reader = new(output.WrittenMemory.Span);
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
57Utf8JsonReader reader = new(output.WrittenMemory.Span);
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (2)
85? new Utf8JsonReader( 89: new Utf8JsonReader(
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (2)
155var reader = new Utf8JsonReader(utf8Json, isFinalBlock: true, readerState); 172var reader = new Utf8JsonReader(utf8Json, isFinalBlock: true, readerState);
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (2)
471? new Utf8JsonReader(valueSequence, reader.CurrentState.Options) 472: new Utf8JsonReader(valueSpan, reader.CurrentState.Options);
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.ReadHelper.cs (1)
115var reader = new Utf8JsonReader(bufferState.Bytes, bufferState.IsFinalBlock, jsonReaderState);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Raw.cs (2)
166Utf8JsonReader reader = new(utf8Json); 257Utf8JsonReader reader = new(utf8Json);
508 references to Utf8JsonReader
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
180var reader = new Utf8JsonReader(jsonData, new JsonReaderOptions
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
536Utf8JsonReader reader = new(bytes);
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
764public override JsonNode? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.AspNetCore.Components (1)
PersistentComponentState.cs (1)
106var reader = new Utf8JsonReader(data);
Microsoft.AspNetCore.Components.Server (2)
BlazorPack\BlazorPackHubProtocolWorker.cs (1)
59var jsonReader = new Utf8JsonReader(bytes.Value);
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
20public override ElementReference Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.AspNetCore.Components.Server.Tests (4)
ElementReferenceJsonConverterTest.cs (4)
46var reader = new Utf8JsonReader(bytes); 66var reader = new Utf8JsonReader(bytes); 86var reader = new Utf8JsonReader(bytes); 105var reader = new Utf8JsonReader(bytes);
Microsoft.AspNetCore.Components.Web.Tests (12)
WebEventData\ChangeEventArgsReaderTest.cs (1)
66var jsonReader = new Utf8JsonReader(json);
WebEventData\ClipboardEventArgsReaderTest.cs (1)
30var jsonReader = new Utf8JsonReader(json);
WebEventData\DragEventArgsReaderTest.cs (1)
84var jsonReader = new Utf8JsonReader(json);
WebEventData\ErrorEventArgsReaderTest.cs (1)
39var jsonReader = new Utf8JsonReader(json);
WebEventData\FocusEventArgsReaderTest.cs (1)
31var jsonReader = new Utf8JsonReader(json);
WebEventData\KeyboardEventArgsReaderTest.cs (1)
49var jsonReader = new Utf8JsonReader(json);
WebEventData\MouseEventArgsReaderTest.cs (1)
69var jsonReader = new Utf8JsonReader(json);
WebEventData\PointerEventArgsReaderTest.cs (1)
61var jsonReader = new Utf8JsonReader(json);
WebEventData\ProgressEventArgsReaderTest.cs (1)
36var jsonReader = new Utf8JsonReader(json);
WebEventData\TouchEventArgsReaderTest.cs (1)
114var jsonReader = new Utf8JsonReader(json);
WebEventData\WebEventDescriptorReaderTest.cs (1)
68var jsonReader = new Utf8JsonReader(json);
WebEventData\WheelEventArgsReaderTest.cs (1)
54var jsonReader = new Utf8JsonReader(json);
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
20public override ElementReference Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.AspNetCore.Components.WebView (2)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
20public override ElementReference Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
374public override Dictionary<string, StaticWebAssetNode> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.AspNetCore.Grpc.JsonTranscoding (16)
Internal\Json\AnyConverter.cs (1)
21public override TMessage? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\BoolConverter.cs (1)
12public override bool Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\ByteStringConverter.cs (1)
13public override ByteString? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\DurationConverter.cs (1)
18public override TMessage? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\EnumConverter.cs (1)
19public override TEnum? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\FieldMaskConverter.cs (1)
20public override TMessage? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\Int64Converter.cs (1)
16public override long Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\JsonConverterHelper.cs (2)
129public static void PopulateMap(ref Utf8JsonReader reader, JsonSerializerOptions options, IMessage message, FieldDescriptor fieldDescriptor) 148public static void PopulateList(ref Utf8JsonReader reader, JsonSerializerOptions options, IMessage message, FieldDescriptor fieldDescriptor)
Internal\Json\ListValueConverter.cs (1)
18public override TMessage? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\NullValueConverter.cs (1)
15public override NullValue Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\StructConverter.cs (1)
18public override TMessage? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\TimestampConverter.cs (1)
18public override TMessage? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\UInt64Converter.cs (1)
17public override ulong Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\ValueConverter.cs (1)
19public override TMessage? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Internal\Json\WrapperConverter.cs (1)
16public override TMessage? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.AspNetCore.Hosting (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
374public override Dictionary<string, StaticWebAssetNode> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.AspNetCore.Http.Abstractions.Tests (5)
HttpValidationProblemDetailsJsonConverterTest.cs (2)
59var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json)); 102var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json));
ProblemDetailsJsonConverterTest.cs (3)
25var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json)); 42var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json)); 137var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json));
Microsoft.AspNetCore.Http.Connections.Common (10)
NegotiateProtocol.cs (2)
150var reader = new Utf8JsonReader(content, isFinalBlock: true, state: default); 273private static AvailableTransport ParseAvailableTransport(ref Utf8JsonReader reader)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (8)
11public static bool CheckRead(this ref Utf8JsonReader reader) 21public static void EnsureObjectStart(this ref Utf8JsonReader reader) 29public static string GetTokenString(this ref Utf8JsonReader reader) 52public static void EnsureArrayStart(this ref Utf8JsonReader reader) 60public static bool ReadAsBoolean(this ref Utf8JsonReader reader, string propertyName) 72public static string ReadAsString(this ref Utf8JsonReader reader, string propertyName) 84public static int? ReadAsInt32(this ref Utf8JsonReader reader, string propertyName) 101public static long? ReadAsInt64(this ref Utf8JsonReader reader, string propertyName)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
HttpResponseJsonExtensionsTests.cs (1)
79public override int Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
RequestDelegateGenerator\SharedTypes.cs (1)
985public override ITodo Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (1)
985public override ITodo Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.AspNetCore.Mvc.Core.Test (6)
Formatters\SystemTextJsonInputFormatterTest.cs (2)
223public override short Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 236public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
324public override ThrowingFormatterModel Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Infrastructure\SystemTextJsonResultExecutorTest.cs (1)
49public override ThrowingFormatterModel Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Infrastructure\ValidationProblemDetailsJsonConverterTest.cs (2)
26var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json)); 68var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes(json));
Microsoft.AspNetCore.OpenApi (9)
Schemas\OpenApiJsonSchema.cs (1)
18public override OpenApiJsonSchema? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Schemas\OpenApiJsonSchema.Helpers.cs (8)
18/// <param name="reader">The <see cref="Utf8JsonReader"/> to consume the list from.</param> 20public static List<T>? ReadList<T>(ref Utf8JsonReader reader) 52/// <param name="reader">The <see cref="Utf8JsonReader"/> to consume the dictionary from.</param> 55public static Dictionary<string, T>? ReadDictionary<T>(ref Utf8JsonReader reader) 85internal static IOpenApiAny? ReadOpenApiAny(ref Utf8JsonReader reader) 88internal static IOpenApiAny? ReadOpenApiAny(ref Utf8JsonReader reader, out string? type) 173/// <param name="reader">The <see cref="Utf8JsonReader"/> to consume the property value from.</param> 177public static void ReadProperty(ref Utf8JsonReader reader, string propertyName, OpenApiSchema schema, JsonSerializerOptions options)
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiSchemaService\OpenApiSchemaService.ParameterSchemas.cs (1)
567public override CustomType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.AspNetCore.SignalR.Common (10)
Protocol\HandshakeProtocol.cs (2)
124var reader = new Utf8JsonReader(payload, isFinalBlock: true, state: default); 178var reader = new Utf8JsonReader(payload, isFinalBlock: true, state: default);
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (8)
11public static bool CheckRead(this ref Utf8JsonReader reader) 21public static void EnsureObjectStart(this ref Utf8JsonReader reader) 29public static string GetTokenString(this ref Utf8JsonReader reader) 52public static void EnsureArrayStart(this ref Utf8JsonReader reader) 60public static bool ReadAsBoolean(this ref Utf8JsonReader reader, string propertyName) 72public static string ReadAsString(this ref Utf8JsonReader reader, string propertyName) 84public static int? ReadAsInt32(this ref Utf8JsonReader reader, string propertyName) 101public static long? ReadAsInt64(this ref Utf8JsonReader reader, string propertyName)
Microsoft.AspNetCore.SignalR.Protocols.Json (17)
Protocol\JsonHubProtocol.cs (9)
135Utf8JsonReader argumentsToken = default; 137Utf8JsonReader itemsToken = default; 139Utf8JsonReader resultToken = default; 146var reader = new Utf8JsonReader(input, isFinalBlock: true, state: default); 481private static Dictionary<string, string> ReadHeaders(ref Utf8JsonReader reader) 814private object? BindType(ref Utf8JsonReader reader, ReadOnlySequence<byte> input, Type type) 830private object? BindType(ref Utf8JsonReader reader, Type type) => DeserializeObject(ref reader, type); 832private object?[] BindTypes(ref Utf8JsonReader reader, IReadOnlyList<Type> paramTypes) 921private object? DeserializeObject(ref Utf8JsonReader reader, Type type) => JsonSerializer.Deserialize(ref reader, type, _payloadSerializerOptions);
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (8)
11public static bool CheckRead(this ref Utf8JsonReader reader) 21public static void EnsureObjectStart(this ref Utf8JsonReader reader) 29public static string GetTokenString(this ref Utf8JsonReader reader) 52public static void EnsureArrayStart(this ref Utf8JsonReader reader) 60public static bool ReadAsBoolean(this ref Utf8JsonReader reader, string propertyName) 72public static string ReadAsString(this ref Utf8JsonReader reader, string propertyName) 84public static int? ReadAsInt32(this ref Utf8JsonReader reader, string propertyName) 101public static long? ReadAsInt64(this ref Utf8JsonReader reader, string propertyName)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (8)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (8)
11public static bool CheckRead(this ref Utf8JsonReader reader) 21public static void EnsureObjectStart(this ref Utf8JsonReader reader) 29public static string GetTokenString(this ref Utf8JsonReader reader) 52public static void EnsureArrayStart(this ref Utf8JsonReader reader) 60public static bool ReadAsBoolean(this ref Utf8JsonReader reader, string propertyName) 72public static string ReadAsString(this ref Utf8JsonReader reader, string propertyName) 84public static int? ReadAsInt32(this ref Utf8JsonReader reader, string propertyName) 101public static long? ReadAsInt64(this ref Utf8JsonReader reader, string propertyName)
Microsoft.CodeAnalysis.LanguageServer.Protocol (25)
Protocol\Converters\DocumentUriConverter.cs (1)
16public override Uri Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Converters\FormattingOptionsConverter.cs (2)
19public override FormattingOptions? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 25static void ReadSkippingComments(ref Utf8JsonReader reader)
Protocol\Converters\InitializeParamsWorkspaceFoldersConverter.cs (1)
29public override WorkspaceFolder[]? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Converters\NaturalObjectConverter.cs (2)
15public override object? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 32private static object? ReadObjectCore(ref Utf8JsonReader reader)
Protocol\Converters\ParameterInformationConverter.cs (1)
16public override ParameterInformation Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Converters\StringEnumConverter.cs (1)
38public override TStringEnumType? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Converters\SumConverter.cs (6)
126internal delegate T StjReader<T>(ref Utf8JsonReader reader, JsonSerializerOptions options); 139private static readonly Type[] jsonSerializerDeserializeMethodTypes = [typeof(Utf8JsonReader).MakeByRefType(), typeof(JsonSerializerOptions)]; 156var param1 = Expression.Parameter(typeof(Utf8JsonReader).MakeByRefType(), "reader"); 186public override T Read(ref Utf8JsonReader reader, Type objectType, JsonSerializerOptions options) 201var backupReader = reader; 276private static bool IsTokenCompatibleWithType(ref Utf8JsonReader reader, SumConverter.SumTypeInfoCache.UnionTypeInfo unionTypeInfo)
Protocol\Converters\TextDocumentSyncConverter.cs (1)
14public override TextDocumentSyncOptions Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Extensions\Converters\VSExtensionConverter.cs (1)
23public override TBase? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Internal\Converters\ClassifiedTextElementConverter.cs (1)
16public override ClassifiedTextElement Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Internal\Converters\ClassifiedTextRunConverter.cs (1)
15public override ClassifiedTextRun? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Internal\Converters\ContainerElementConverter.cs (1)
19public override ContainerElement Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Internal\Converters\ImageElementConverter.cs (1)
16public override ImageElement Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Internal\Converters\ImageIdConverter.cs (1)
15public override ImageId Read(ref Utf8JsonReader reader, Type objectType, JsonSerializerOptions options)
Protocol\Internal\Converters\ObjectContentConverter.cs (2)
38public override object? Read(ref Utf8JsonReader reader, Type objectType, JsonSerializerOptions options) 47var clonedReader = reader;
Protocol\Internal\Converters\RegexConverter.cs (1)
18public override Regex? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (1)
19public override OptimizedVSCompletionList Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) => throw new NotImplementedException();
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultJsonSerializerFactory.cs (1)
23var reader = new Utf8JsonReader(source);
Microsoft.Extensions.DependencyModel (24)
DependencyContextJsonReader.cs (14)
128private DependencyContext Read(Utf8JsonReader reader) 244private static void ReadRuntimeTarget(ref Utf8JsonReader reader, out string? runtimeTargetName, out string? runtimeSignature) 267private static CompilationOptions ReadCompilationOptions(ref Utf8JsonReader reader) 347private List<Target> ReadTargets(ref Utf8JsonReader reader) 370private Target ReadTarget(ref Utf8JsonReader reader, string targetName) 393private TargetLibrary ReadTargetLibrary(ref Utf8JsonReader reader, string targetLibraryName) 451private List<Dependency> ReadTargetLibraryDependencies(ref Utf8JsonReader reader) 476private static List<string> ReadPropertyNames(ref Utf8JsonReader reader) 500private static List<RuntimeFile> ReadRuntimeFiles(ref Utf8JsonReader reader) 543private List<RuntimeTargetEntryStub> ReadTargetLibraryRuntimeTargets(ref Utf8JsonReader reader) 594private List<ResourceAssembly> ReadTargetLibraryResources(ref Utf8JsonReader reader) 634private Dictionary<string, LibraryStub> ReadLibraries(ref Utf8JsonReader reader) 657private LibraryStub ReadOneLibrary(ref Utf8JsonReader reader) 714private static List<RuntimeFallbacks> ReadRuntimes(ref Utf8JsonReader reader)
Utf8JsonReaderExtensions.cs (10)
15public static bool IsTokenTypeProperty(this ref Utf8JsonReader reader) 18public static bool TryReadStringProperty(this ref Utf8JsonReader reader, out string? name, out string? value) 44public static void ReadStartObject(this ref Utf8JsonReader reader) 50public static void CheckStartObject(this ref Utf8JsonReader reader) 58public static void CheckEndObject(this ref Utf8JsonReader reader) 66public static string?[] ReadStringArray(this ref Utf8JsonReader reader) 89public static string? ReadAsString(this ref Utf8JsonReader reader) 105public static bool? ReadAsNullableBoolean(this ref Utf8JsonReader reader) 120public static bool ReadAsBoolean(this ref Utf8JsonReader reader, bool defaultValue) 135private static FormatException CreateUnexpectedException(ref Utf8JsonReader reader, string expected)
Microsoft.JSInterop (11)
Implementation\JSObjectReferenceJsonWorker.cs (2)
21/// <param name="reader">The <see cref="Utf8JsonReader"/></param> 23public static long ReadJSObjectReferenceIdentifier(ref Utf8JsonReader reader)
Infrastructure\ByteArrayJsonConverter.cs (1)
23public override byte[]? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Infrastructure\DotNetDispatcher.cs (3)
229var reader = new Utf8JsonReader(buffer.AsSpan(0, count)); 265static bool IsIncorrectDotNetObjectRefUse(Type parameterType, Utf8JsonReader jsonReader) 315var reader = new Utf8JsonReader(utf8JsonBytes);
Infrastructure\DotNetObjectReferenceJsonConverter.cs (1)
22public override DotNetObjectReference<TValue> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Infrastructure\DotNetStreamReferenceJsonConverter.cs (1)
20public override DotNetStreamReference Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Infrastructure\JSObjectReferenceJsonConverter.cs (1)
22public override IJSObjectReference? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Infrastructure\JSStreamReferenceJsonConverter.cs (1)
24public override IJSStreamReference? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
JSRuntime.cs (1)
230internal bool EndInvokeJS(long taskId, bool succeeded, ref Utf8JsonReader jsonReader)
Microsoft.JSInterop.Tests (8)
JSRuntimeTest.cs (8)
59var reader = new Utf8JsonReader(Encoding.UTF8.GetBytes("null")); 115var reader = new Utf8JsonReader(bytes); 137var reader = new Utf8JsonReader(bytes); 161var reader = new Utf8JsonReader(bytes); 190var reader = new Utf8JsonReader(bytes); 218var reader = new Utf8JsonReader(bytes); 245var firstReader = new Utf8JsonReader(Encoding.UTF8.GetBytes("\"Some data\"")); 246var secondReader = new Utf8JsonReader(Encoding.UTF8.GetBytes("\"Exception\""));
Microsoft.JSInterop.WebAssembly (1)
WebAssemblyJSObjectReferenceJsonConverter.cs (1)
26public override IJSObjectReference? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.ML.AutoML (4)
SweepableEstimator\Converter\MultiModelPipelineConverter.cs (1)
15public override MultiModelPipeline Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
SweepableEstimator\Converter\SweepableEstimatorConverter.cs (1)
16public override SweepableEstimator Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
SweepableEstimator\Converter\SweepableEstimatorPipelineConverter.cs (1)
15public override SweepableEstimatorPipeline Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
SweepableEstimator\Converter\SweepablePipelineConverter.cs (1)
15public override SweepablePipeline Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.ML.AutoML.Tests (2)
Utils\DoubleToDecimalConverter.cs (1)
13public override double Read(ref Utf8JsonReader reader, Type type, JsonSerializerOptions options)
Utils\FloatToDecimalConverter.cs (1)
13public override float Read(ref Utf8JsonReader reader, Type type, JsonSerializerOptions options)
Microsoft.ML.SearchSpace (5)
Converter\ChoiceOptionConverter.cs (1)
28public override ChoiceOption Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Converter\NumericOptionConverter.cs (1)
37public override UniformNumericOption Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Converter\OptionConverter.cs (1)
16public override OptionBase Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Converter\ParameterConverter.cs (1)
15public override Parameter Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Converter\SearchSpaceConverter.cs (1)
16public override SearchSpace Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.ML.SearchSpace.Tests (2)
SearchSpaceTest.cs (2)
367public override double Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 378public override float Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Microsoft.ML.Tokenizers (4)
Utils\StringSpanOrdinalKey.cs (3)
136public override StringSpanOrdinalKey ReadAsPropertyName(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) => 142public override StringSpanOrdinalKey Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) => new StringSpanOrdinalKey(reader.GetString()!); 148public override Vocabulary Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Utils\TokenizerExtensions.cs (1)
66public override SortedDictionary<int, string>? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) => null;
System.Memory.Data (1)
System\BinaryDataConverter.cs (1)
18public override BinaryData? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System.Text.Json (309)
src\libraries\System.Text.Json\Common\JsonCommentHandling.cs (2)
7/// This enum defines the various ways the <see cref="Utf8JsonReader"/> can deal with comments. 19/// The <see cref="Utf8JsonReader"/> will behave as if no comments were present.
System\Text\Json\Document\JsonDocument.cs (1)
957Utf8JsonReader reader = new Utf8JsonReader(
System\Text\Json\Document\JsonDocument.Parse.cs (8)
352/// If the <see cref="Utf8JsonReader.TokenType"/> property of <paramref name="reader"/> 354/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 378public static bool TryParseValue(ref Utf8JsonReader reader, [NotNullWhen(true)] out JsonDocument? document) 392/// If the <see cref="Utf8JsonReader.TokenType"/> property of <paramref name="reader"/> 394/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 418public static JsonDocument ParseValue(ref Utf8JsonReader reader) 428ref Utf8JsonReader reader, 437Utf8JsonReader restore = reader;
System\Text\Json\Document\JsonDocumentOptions.cs (1)
19/// Defines how the <see cref="Utf8JsonReader"/> should handle comments when reading through the JSON.
System\Text\Json\Document\JsonElement.Parse.cs (6)
21/// If the <see cref="Utf8JsonReader.TokenType"/> property of <paramref name="reader"/> 23/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 47public static JsonElement ParseValue(ref Utf8JsonReader reader) 86/// If the <see cref="Utf8JsonReader.TokenType"/> property of <paramref name="reader"/> 88/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 112public static bool TryParseValue(ref Utf8JsonReader reader, [NotNullWhen(true)] out JsonElement? element)
System\Text\Json\JsonHelpers.cs (9)
21public static ReadOnlySpan<byte> GetUnescapedSpan(this scoped ref Utf8JsonReader reader) 37public static bool TryAdvanceWithOptionalReadAhead(this scoped ref Utf8JsonReader reader, bool requiresReadAhead) 47public static bool TryAdvanceToNextRootLevelValueWithOptionalReadAhead(this scoped ref Utf8JsonReader reader, bool requiresReadAhead, out bool isAtEndOfStream) 52Utf8JsonReader checkpoint = reader; 74private static bool TryAdvanceWithReadAhead(scoped ref Utf8JsonReader reader) 78Utf8JsonReader restore = reader; 170public static void ReadWithVerify(this ref Utf8JsonReader reader) 180public static void SkipWithVerify(this ref Utf8JsonReader reader) 187public static bool TrySkipPartial(this ref Utf8JsonReader reader)
System\Text\Json\JsonTokenType.cs (4)
8/// the <see cref="Utf8JsonReader"/> when moving from one token to the next. 9/// The <see cref="Utf8JsonReader"/> starts at 'None' by default. The 'Comment' enum value 10/// is only ever reached in a specific <see cref="Utf8JsonReader"/> mode and is not 22/// This is the default token type if no data has been read by the <see cref="Utf8JsonReader"/>.
System\Text\Json\Nodes\JsonNode.Parse.cs (3)
24/// If the <see cref="Utf8JsonReader.TokenType"/> property of <paramref name="reader"/> 26/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 48ref Utf8JsonReader reader,
System\Text\Json\Nodes\JsonValue.cs (1)
146Utf8JsonReader reader = new(output.WrittenMemory.Span);
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
57Utf8JsonReader reader = new(output.WrittenMemory.Span);
System\Text\Json\Reader\JsonReaderOptions.cs (2)
19/// Defines how the <see cref="Utf8JsonReader"/> should handle comments when reading through the JSON. 75/// Defines whether the <see cref="Utf8JsonReader"/> should tolerate
System\Text\Json\Reader\JsonReaderState.cs (9)
8/// to the <see cref="Utf8JsonReader"/> to continue reading after processing incomplete data. 10/// reading once more data is available. Unlike the <see cref="Utf8JsonReader"/>, which is a ref struct, 12/// support for reading in more data asynchronously before continuing with a new instance of the <see cref="Utf8JsonReader"/>. 30/// <param name="options">Defines the customized behavior of the <see cref="Utf8JsonReader"/> 32/// By default, the <see cref="Utf8JsonReader"/> follows the JSON RFC strictly (i.e. comments within the JSON are invalid) and reads up to a maximum depth of 64.</param> 34/// An instance of this state must be passed to the <see cref="Utf8JsonReader"/> ctor with the JSON data. 35/// Unlike the <see cref="Utf8JsonReader"/>, which is a ref struct, the state can survive 37/// in more data asynchronously before continuing with a new instance of the <see cref="Utf8JsonReader"/>. 82/// the <see cref="Utf8JsonReader"/> that may deviate from strict adherence
System\Text\Json\Reader\Utf8JsonReader.cs (14)
74/// Returns the total amount of bytes consumed by the <see cref="Utf8JsonReader"/> so far 75/// for the current instance of the <see cref="Utf8JsonReader"/> with the given UTF-8 encoded input text. 142/// Returns the mode of this instance of the <see cref="Utf8JsonReader"/>. 164/// input ReadOnlySequence&lt;byte&gt;. If the <see cref="Utf8JsonReader"/> was constructed 181/// Returns the current snapshot of the <see cref="Utf8JsonReader"/> state which must 182/// be captured by the caller and passed back in to the <see cref="Utf8JsonReader"/> ctor with more data. 183/// Unlike the <see cref="Utf8JsonReader"/>, which is a ref struct, the state can survive 185/// in more data asynchronously before continuing with a new instance of the <see cref="Utf8JsonReader"/>. 202/// Constructs a new <see cref="Utf8JsonReader"/> instance. 208/// capture the state from the previous instance of the <see cref="Utf8JsonReader"/> and pass that back.</param> 251/// Constructs a new <see cref="Utf8JsonReader"/> instance. 254/// <param name="options">Defines the customized behavior of the <see cref="Utf8JsonReader"/> 256/// By default, the <see cref="Utf8JsonReader"/> follows the JSON RFC strictly (i.e. comments within the JSON are invalid) and reads up to a maximum depth of 64.</param> 379Utf8JsonReader restore = this;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (5)
13/// Constructs a new <see cref="Utf8JsonReader"/> instance. 19/// capture the state from the previous instance of the <see cref="Utf8JsonReader"/> and pass that back.</param> 101/// Constructs a new <see cref="Utf8JsonReader"/> instance. 104/// <param name="options">Defines the customized behavior of the <see cref="Utf8JsonReader"/> 106/// By default, the <see cref="Utf8JsonReader"/> follows the JSON RFC strictly (i.e. comments within the JSON are invalid) and reads up to a maximum depth of 64.</param>
System\Text\Json\Serialization\Converters\CastingConverter.cs (5)
44public override T? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 50internal override bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out T? value) 60public override T ReadAsPropertyName(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 63internal override T ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 72internal override T ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\ArrayConverter.cs (1)
22protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\IAsyncEnumerableOfTConverter.cs (2)
15internal override bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out TAsyncEnumerable value) 31protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\ICollectionOfTConverter.cs (1)
29protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\IDictionaryConverter.cs (1)
31protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state)
System\Text\Json\Serialization\Converters\Collection\IDictionaryOfTKeyTValueConverter.cs (1)
31protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state)
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverter.cs (1)
26protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\IEnumerableOfTConverter.cs (1)
24protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\IListConverter.cs (1)
28protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\IListOfTConverter.cs (1)
29protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\ImmutableDictionaryOfTKeyTValueConverter.cs (1)
23protected sealed override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state)
System\Text\Json\Serialization\Converters\Collection\ImmutableEnumerableOfTConverter.cs (1)
22protected sealed override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\IReadOnlyDictionaryOfTKeyTValueConverter.cs (1)
22protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state)
System\Text\Json\Serialization\Converters\Collection\ISetOfTConverter.cs (1)
26protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (2)
26protected virtual void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options) 62ref Utf8JsonReader reader,
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (3)
41protected virtual void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state) 73ref Utf8JsonReader reader, 314static TKey ReadDictionaryKey(JsonConverter<TKey> keyConverter, ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\ListOfTConverter.cs (1)
21protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\MemoryConverter.cs (2)
15ref Utf8JsonReader reader, 35protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\QueueOfTConverter.cs (1)
19protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\ReadOnlyMemoryConverter.cs (2)
15ref Utf8JsonReader reader, 35protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\RootLevelListConverter.cs (1)
26internal override bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out List<T?>? value)
System\Text\Json\Serialization\Converters\Collection\StackOfTConverter.cs (1)
20protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Collection\StackOrQueueConverter.cs (1)
23protected sealed override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\FSharp\FSharpListConverter.cs (1)
29protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\FSharp\FSharpMapConverter.cs (1)
32protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state)
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (2)
33internal override bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out TOption? value) 83public override TOption? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\FSharp\FSharpSetConverter.cs (1)
29protected override void CreateCollection(ref Utf8JsonReader reader, scoped ref ReadStack state, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (2)
33internal override bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out TValueOption value) 85public override TValueOption Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\JsonMetadataServicesConverter.cs (1)
48internal override bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out T? value)
System\Text\Json\Serialization\Converters\Node\JsonArrayConverter.cs (2)
23public override JsonArray? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 37public static JsonArray ReadList(ref Utf8JsonReader reader, JsonNodeOptions? options = null)
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (1)
39public override JsonNode? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Node\JsonObjectConverter.cs (3)
21ref Utf8JsonReader reader, 48public override JsonObject? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 62public static JsonObject ReadObject(ref Utf8JsonReader reader, JsonNodeOptions? options)
System\Text\Json\Serialization\Converters\Node\JsonValueConverter.cs (1)
23public override JsonValue? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Object\ObjectConverter.cs (5)
20public sealed override object ReadAsPropertyName(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 26internal sealed override object ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 81public override object? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 100public override object? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 111internal override bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out object? value)
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (4)
20internal override bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, [MaybeNullWhen(false)] out T value) 271internal static void PopulatePropertiesFastPath(object obj, JsonTypeInfo jsonTypeInfo, JsonSerializerOptions options, ref Utf8JsonReader reader, scoped ref ReadStack state) 461ref Utf8JsonReader reader, 496protected static bool ReadAheadPropertyValue(scoped ref ReadStack state, ref Utf8JsonReader reader, JsonPropertyInfo jsonPropertyInfo)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (7)
24internal sealed override bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, [MaybeNullWhen(false)] out T value) 72Utf8JsonReader tempReader; 275protected abstract bool ReadAndCacheConstructorArgument(scoped ref ReadStack state, ref Utf8JsonReader reader, JsonParameterInfo jsonParameterInfo); 283private void ReadConstructorArguments(scoped ref ReadStack state, ref Utf8JsonReader reader, JsonSerializerOptions options) 381private bool ReadConstructorArgumentsWithContinuation(scoped ref ReadStack state, ref Utf8JsonReader reader, JsonSerializerOptions options) 461ref Utf8JsonReader reader, 497ref Utf8JsonReader reader,
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Large.cs (1)
17protected sealed override bool ReadAndCacheConstructorArgument(scoped ref ReadStack state, ref Utf8JsonReader reader, JsonParameterInfo jsonParameterInfo)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Small.cs (2)
27ref Utf8JsonReader reader, 59ref Utf8JsonReader reader,
System\Text\Json\Serialization\Converters\Value\BooleanConverter.cs (2)
13public override bool Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 23internal override bool ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\ByteArrayConverter.cs (1)
10public override byte[]? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\ByteConverter.cs (3)
17public override byte Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 27internal override byte ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 38internal override byte ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\CharConverter.cs (2)
13public override char Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 47internal override char ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\DateOnlyConverter.cs (3)
15public override DateOnly Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 25internal override DateOnly ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 31private static DateOnly ReadCore(ref Utf8JsonReader reader)
System\Text\Json\Serialization\Converters\Value\DateTimeConverter.cs (2)
11public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 21internal override DateTime ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\DateTimeOffsetConverter.cs (2)
11public override DateTimeOffset Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 21internal override DateTimeOffset ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\DecimalConverter.cs (3)
16public override decimal Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 26internal override decimal ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 37internal override decimal ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\DoubleConverter.cs (3)
17public override double Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 27internal override double ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 38internal override double ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (3)
102public override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 181internal override T ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 236private bool TryParseEnumFromString(ref Utf8JsonReader reader, out T result)
System\Text\Json\Serialization\Converters\Value\GuidConverter.cs (2)
12public override Guid Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 22internal override Guid ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\HalfConverter.cs (5)
21public override Half Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 36private static Half ReadCore(ref Utf8JsonReader reader) 72internal override Half ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 85internal override Half ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options) 138private static bool TryGetFloatingPointConstant(ref Utf8JsonReader reader, out Half value)
System\Text\Json\Serialization\Converters\Value\Int128Converter.cs (4)
21public override Int128 Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 36private static Int128 ReadCore(ref Utf8JsonReader reader) 66internal override Int128 ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 79internal override Int128 ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\Int16Converter.cs (3)
17public override short Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 28internal override short ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 39internal override short ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\Int32Converter.cs (3)
17public override int Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 28internal override int ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 39internal override int ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\Int64Converter.cs (3)
17public override long Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 27internal override long ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 38internal override long ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\JsonDocumentConverter.cs (1)
13public override JsonDocument Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\JsonElementConverter.cs (1)
11public override JsonElement Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\JsonPrimitiveConverter.cs (1)
26public sealed override T ReadAsPropertyName(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\MemoryByteConverter.cs (1)
13public override Memory<byte> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (3)
28internal override bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out T? value) 62public override T? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 85internal override T? ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling numberHandling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\ReadOnlyMemoryByteConverter.cs (1)
13public override ReadOnlyMemory<byte> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\SByteConverter.cs (3)
17public override sbyte Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 27internal override sbyte ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 38internal override sbyte ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\SingleConverter.cs (3)
18public override float Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 28internal override float ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 39internal override float ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\StringConverter.cs (2)
12public override string? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 30internal override string ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\TimeOnlyConverter.cs (3)
17public override TimeOnly Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 27internal override TimeOnly ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 33private static TimeOnly ReadCore(ref Utf8JsonReader reader)
System\Text\Json\Serialization\Converters\Value\TimeSpanConverter.cs (3)
17public override TimeSpan Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 27internal override TimeSpan ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 33private static TimeSpan ReadCore(ref Utf8JsonReader reader)
System\Text\Json\Serialization\Converters\Value\UInt128Converter.cs (4)
21public override UInt128 Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 36private static UInt128 ReadCore(ref Utf8JsonReader reader) 66internal override UInt128 ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 79internal override UInt128 ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\UInt16Converter.cs (3)
17public override ushort Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 28internal override ushort ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 39internal override ushort ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\UInt32Converter.cs (3)
17public override uint Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 28internal override uint ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 39internal override uint ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\UInt64Converter.cs (3)
17public override ulong Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 27internal override ulong ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 38internal override ulong ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\UnsupportedTypeConverter.cs (1)
17public override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) =>
System\Text\Json\Serialization\Converters\Value\UriConverter.cs (3)
12public override Uri? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 28internal override Uri ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 34private static Uri ReadCore(ref Utf8JsonReader reader)
System\Text\Json\Serialization\Converters\Value\VersionConverter.cs (3)
20public override Version? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 35private static Version ReadCore(ref Utf8JsonReader reader) 103internal override Version ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\JsonConverter.cs (7)
104ref Utf8JsonReader reader, 202internal abstract object? ReadAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options); 203internal abstract bool OnTryReadAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out object? value); 204internal abstract bool TryReadAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out object? value); 205internal abstract object? ReadAsPropertyNameAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options); 206internal abstract object? ReadAsPropertyNameCoreAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options); 207internal abstract object? ReadNumberWithCustomHandlingAsObject(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options);
System\Text\Json\Serialization\JsonConverterFactory.cs (6)
53internal sealed override object? ReadAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 61ref Utf8JsonReader reader, 73ref Utf8JsonReader reader, 84internal sealed override object? ReadAsPropertyNameAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 91internal sealed override object? ReadAsPropertyNameCoreAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 98internal sealed override object? ReadNumberWithCustomHandlingAsObject(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\JsonConverterOfT.cs (15)
129internal virtual bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out T? value) 141/// <param name="reader">The <see cref="Utf8JsonReader"/> to read from.</param> 146public abstract T? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options); 148internal bool TryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out T? value, out bool isPopulatedValue) 282internal sealed override bool OnTryReadAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out object? value) 289internal sealed override bool TryReadAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, scoped ref ReadStack state, out object? value) 296internal sealed override object? ReadAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 302internal sealed override object? ReadAsPropertyNameAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 308internal sealed override object? ReadAsPropertyNameCoreAsObject(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 314internal sealed override object? ReadNumberWithCustomHandlingAsObject(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options) 499internal void VerifyRead(JsonTokenType tokenType, int depth, long bytesConsumed, bool isValueConverter, ref Utf8JsonReader reader) 586/// <param name="reader">The <see cref="Utf8JsonReader"/> to read from.</param> 591public virtual T ReadAsPropertyName(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 603internal virtual T ReadAsPropertyNameCore(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 683internal virtual T ReadNumberWithCustomHandling(ref Utf8JsonReader reader, JsonNumberHandling handling, JsonSerializerOptions options)
System\Text\Json\Serialization\JsonConverterOfT.ReadCore.cs (1)
11ref Utf8JsonReader reader,
System\Text\Json\Serialization\JsonResumableConverterOfT.cs (1)
17public sealed override T? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (5)
25internal static bool TryReadMetadata(JsonConverter converter, JsonTypeInfo jsonTypeInfo, ref Utf8JsonReader reader, scoped ref ReadStack state) 30Utf8JsonReader checkpoint; 350ref Utf8JsonReader reader, 414ref Utf8JsonReader reader, 492internal static void ValidateMetadataForArrayConverter(JsonConverter converter, ref Utf8JsonReader reader, scoped ref ReadStack state)
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (1)
80ref Utf8JsonReader reader,
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (2)
155var reader = new Utf8JsonReader(utf8Json, isFinalBlock: true, readerState); 172var reader = new Utf8JsonReader(utf8Json, isFinalBlock: true, readerState);
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (28)
35/// If the <see cref="Utf8JsonReader.TokenType"/> property of <paramref name="reader"/> 37/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 53/// The <see cref="JsonReaderOptions"/> used to create the instance of the <see cref="Utf8JsonReader"/> take precedence over the <see cref="JsonSerializerOptions"/> when they conflict. 59public static TValue? Deserialize<TValue>(ref Utf8JsonReader reader, JsonSerializerOptions? options = null) 89/// If the <see cref="Utf8JsonReader.TokenType"/> property of <paramref name="reader"/> 91/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 106/// The <see cref="JsonReaderOptions"/> used to create the instance of the <see cref="Utf8JsonReader"/> take precedence over the <see cref="JsonSerializerOptions"/> when they conflict. 112public static object? Deserialize(ref Utf8JsonReader reader, Type returnType, JsonSerializerOptions? options = null) 140/// If the <see cref="Utf8JsonReader.TokenType"/> property of <paramref name="reader"/> 142/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 158/// The <see cref="JsonReaderOptions"/> used to create the instance of the <see cref="Utf8JsonReader"/> take precedence over the <see cref="JsonSerializerOptions"/> when they conflict. 162public static TValue? Deserialize<TValue>(ref Utf8JsonReader reader, JsonTypeInfo<TValue> jsonTypeInfo) 189/// If the <see cref="Utf8JsonReader.TokenType"/> property of <paramref name="reader"/> 191/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 207/// The <see cref="JsonReaderOptions"/> used to create the instance of the <see cref="Utf8JsonReader"/> take precedence over the <see cref="JsonSerializerOptions"/> when they conflict. 211public static object? Deserialize(ref Utf8JsonReader reader, JsonTypeInfo jsonTypeInfo) 250/// If the <see cref="Utf8JsonReader.TokenType"/> property of <paramref name="reader"/> 252/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 267/// The <see cref="JsonReaderOptions"/> used to create the instance of the <see cref="Utf8JsonReader"/> take precedence over the <see cref="JsonSerializerOptions"/> when they conflict. 271public static object? Deserialize(ref Utf8JsonReader reader, Type returnType, JsonSerializerContext context) 285private static TValue? Read<TValue>(ref Utf8JsonReader reader, JsonTypeInfo<TValue> jsonTypeInfo) 296Utf8JsonReader restore = reader; 300Utf8JsonReader scopedReader = GetReaderScopedToNextValue(ref reader, ref state); 310private static object? ReadAsObject(ref Utf8JsonReader reader, JsonTypeInfo jsonTypeInfo) 321Utf8JsonReader restore = reader; 325Utf8JsonReader scopedReader = GetReaderScopedToNextValue(ref reader, ref state); 335private static Utf8JsonReader GetReaderScopedToNextValue(ref Utf8JsonReader reader, scoped ref ReadStack state)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (4)
851ref Utf8JsonReader reader) 898internal abstract bool ReadJsonAndSetMember(object obj, scoped ref ReadStack state, ref Utf8JsonReader reader); 900internal abstract bool ReadJsonAsObject(scoped ref ReadStack state, ref Utf8JsonReader reader, out object? value); 902internal bool ReadJsonExtensionDataValue(scoped ref ReadStack state, ref Utf8JsonReader reader, out object? value)
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (2)
275internal override bool ReadJsonAndSetMember(object obj, scoped ref ReadStack state, ref Utf8JsonReader reader) 365internal override bool ReadJsonAsObject(scoped ref ReadStack state, ref Utf8JsonReader reader, out object? value)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1060internal abstract object? DeserializeAsObject(ref Utf8JsonReader reader, ref ReadStack state);
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.ReadHelper.cs (3)
17internal T? Deserialize(ref Utf8JsonReader reader, ref ReadStack state) 97internal sealed override object? DeserializeAsObject(ref Utf8JsonReader reader, ref ReadStack state) 115var reader = new Utf8JsonReader(bufferState.Bytes, bufferState.IsFinalBlock, jsonReaderState);
System\Text\Json\ThrowHelper.cs (3)
349public static void ThrowJsonReaderException(ref Utf8JsonReader json, ExceptionResource resource, byte nextByte = default, ReadOnlySpan<byte> bytes = default) 355public static JsonException GetJsonReaderException(ref Utf8JsonReader json, ExceptionResource resource, byte nextByte, ReadOnlySpan<byte> bytes) 376private static string GetResourceString(ref Utf8JsonReader json, ExceptionResource resource, byte nextByte, string characters)
System\Text\Json\ThrowHelper.Serialization.cs (9)
400ref Utf8JsonReader reader, 456public static void ReThrowWithPath(scoped ref ReadStack state, in Utf8JsonReader reader, Exception ex) 463public static void AddJsonExceptionInformation(scoped ref ReadStack state, in Utf8JsonReader reader, JsonException ex) 567public static void ThrowNotSupportedException(scoped ref ReadStack state, in Utf8JsonReader reader, Exception innerException) 621public static void ThrowNotSupportedException_DeserializeNoConstructor(JsonTypeInfo typeInfo, ref Utf8JsonReader reader, scoped ref ReadStack state) 650public static void ThrowNotSupportedException_CannotPopulateCollection(Type type, ref Utf8JsonReader reader, scoped ref ReadStack state) 720public static void ThrowJsonException_MetadataInvalidPropertyWithLeadingDollarSign(ReadOnlySpan<byte> propertyName, scoped ref ReadStack state, in Utf8JsonReader reader) 754public static void ThrowJsonException_MetadataInvalidPropertyInArrayMetadata(scoped ref ReadStack state, Type propertyType, in Utf8JsonReader reader) 797ref Utf8JsonReader reader,
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Raw.cs (2)
166Utf8JsonReader reader = new(utf8Json); 257Utf8JsonReader reader = new(utf8Json);