12 instantiations of JsonReaderOptions
Aspire.Dashboard (1)
Model\TextVisualizerViewModel.cs (1)
120
var reader = new Utf8JsonReader(jsonData, new
JsonReaderOptions
Microsoft.DotNet.MSBuildSdkResolver (2)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
24
var readerOptions = new
JsonReaderOptions
WorkloadManifestReader.SystemTextJson.cs (1)
13
var readerOptions = new
JsonReaderOptions
Microsoft.DotNet.TemplateLocator (2)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
24
var readerOptions = new
JsonReaderOptions
WorkloadManifestReader.SystemTextJson.cs (1)
13
var readerOptions = new
JsonReaderOptions
Microsoft.Extensions.AI (1)
ChatCompletion\ChatResponse{T}.cs (1)
23
private static readonly JsonReaderOptions _allowMultipleValuesJsonReaderOptions =
new
()
Microsoft.NET.Build.Tasks (2)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
24
var readerOptions = new
JsonReaderOptions
WorkloadManifestReader.SystemTextJson.cs (1)
13
var readerOptions = new
JsonReaderOptions
Microsoft.NET.Sdk.WorkloadManifestReader (2)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
24
var readerOptions = new
JsonReaderOptions
WorkloadManifestReader.SystemTextJson.cs (1)
13
var readerOptions = new
JsonReaderOptions
System.Text.Json (2)
System\Text\Json\Document\JsonDocumentOptions.cs (1)
91
return new
JsonReaderOptions
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
1079
return new
JsonReaderOptions
58 references to JsonReaderOptions
Microsoft.DotNet.MSBuildSdkResolver (4)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
24
var
readerOptions = new JsonReaderOptions
WorkloadManifestReader.SystemTextJson.cs (3)
13
var
readerOptions = new JsonReaderOptions
25
private static LocalizationCatalog? ReadLocalizationCatalog(Stream? localizationStream,
JsonReaderOptions
readerOptions)
49
public Utf8JsonStreamReader(Stream stream,
JsonReaderOptions
readerOptions)
Microsoft.DotNet.TemplateLocator (4)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
24
var
readerOptions = new JsonReaderOptions
WorkloadManifestReader.SystemTextJson.cs (3)
13
var
readerOptions = new JsonReaderOptions
25
private static LocalizationCatalog? ReadLocalizationCatalog(Stream? localizationStream,
JsonReaderOptions
readerOptions)
49
public Utf8JsonStreamReader(Stream stream,
JsonReaderOptions
readerOptions)
Microsoft.Extensions.AI (1)
ChatCompletion\ChatResponse{T}.cs (1)
23
private static readonly
JsonReaderOptions
_allowMultipleValuesJsonReaderOptions = new()
Microsoft.NET.Build.Tasks (4)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
24
var
readerOptions = new JsonReaderOptions
WorkloadManifestReader.SystemTextJson.cs (3)
13
var
readerOptions = new JsonReaderOptions
25
private static LocalizationCatalog? ReadLocalizationCatalog(Stream? localizationStream,
JsonReaderOptions
readerOptions)
49
public Utf8JsonStreamReader(Stream stream,
JsonReaderOptions
readerOptions)
Microsoft.NET.Sdk.WorkloadManifestReader (4)
SdkDirectoryWorkloadManifestProvider.GlobalJsonReader.cs (1)
24
var
readerOptions = new JsonReaderOptions
WorkloadManifestReader.SystemTextJson.cs (3)
13
var
readerOptions = new JsonReaderOptions
25
private static LocalizationCatalog? ReadLocalizationCatalog(Stream? localizationStream,
JsonReaderOptions
readerOptions)
49
public Utf8JsonStreamReader(Stream stream,
JsonReaderOptions
readerOptions)
System.Text.Json (41)
System\Text\Json\Document\JsonDocument.cs (2)
881
JsonReaderOptions
readerOptions,
1132
JsonReaderOptions
readerOptions,
System\Text\Json\Document\JsonDocument.Parse.cs (3)
79
JsonReaderOptions
readerOptions = options.GetReaderOptions();
718
JsonReaderOptions
readerOptions,
755
JsonReaderOptions
readerOptions,
System\Text\Json\Document\JsonDocumentOptions.cs (1)
89
internal
JsonReaderOptions
GetReaderOptions()
System\Text\Json\Reader\JsonReaderState.cs (4)
24
internal readonly
JsonReaderOptions
_readerOptions;
39
public JsonReaderState(
JsonReaderOptions
options = default)
65
JsonReaderOptions
readerOptions,
85
public
JsonReaderOptions
Options => _readerOptions;
System\Text\Json\Reader\Utf8JsonReader.cs (3)
37
private
JsonReaderOptions
_readerOptions;
231
_readerOptions.MaxDepth =
JsonReaderOptions
.DefaultMaxDepth; // If max depth is not set, revert to the default depth.
265
public Utf8JsonReader(ReadOnlySpan<byte> jsonData,
JsonReaderOptions
options = default)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (2)
42
_readerOptions.MaxDepth =
JsonReaderOptions
.DefaultMaxDepth; // If max depth is not set, revert to the default depth.
115
public Utf8JsonReader(ReadOnlySequence<byte> jsonData,
JsonReaderOptions
options = default)
System\Text\Json\Serialization\JsonSerializer.Read.Pipe.cs (2)
309
JsonReaderOptions
readerOptions = jsonTypeInfo.Options.GetReaderOptions();
325
JsonReaderOptions
readerOptions,
System\Text\Json\Serialization\JsonSerializer.Read.Stream.cs (2)
464
JsonReaderOptions
readerOptions = jsonTypeInfo.Options.GetReaderOptions();
480
JsonReaderOptions
readerOptions,
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (20)
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.
54
/// Hence, <see cref="
JsonReaderOptions
.AllowTrailingCommas"/>, <see cref="
JsonReaderOptions
.MaxDepth"/>, and <see cref="
JsonReaderOptions
.CommentHandling"/> are used while reading.
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.
107
/// Hence, <see cref="
JsonReaderOptions
.AllowTrailingCommas"/>, <see cref="
JsonReaderOptions
.MaxDepth"/>, and <see cref="
JsonReaderOptions
.CommentHandling"/> are used while reading.
155
/// The <see cref="
JsonReaderOptions
"/> used to create the instance of the <see cref="Utf8JsonReader"/> take precedence over the <see cref="JsonSerializerOptions"/> when they conflict.
156
/// Hence, <see cref="
JsonReaderOptions
.AllowTrailingCommas"/>, <see cref="
JsonReaderOptions
.MaxDepth"/>, and <see cref="
JsonReaderOptions
.CommentHandling"/> are used while reading.
201
/// The <see cref="
JsonReaderOptions
"/> used to create the instance of the <see cref="Utf8JsonReader"/> take precedence over the <see cref="JsonSerializerOptions"/> when they conflict.
202
/// Hence, <see cref="
JsonReaderOptions
.AllowTrailingCommas"/>, <see cref="
JsonReaderOptions
.MaxDepth"/>, and <see cref="
JsonReaderOptions
.CommentHandling"/> are used while reading.
258
/// The <see cref="
JsonReaderOptions
"/> used to create the instance of the <see cref="Utf8JsonReader"/> take precedence over the <see cref="JsonSerializerOptions"/> when they conflict.
259
/// Hence, <see cref="
JsonReaderOptions
.AllowTrailingCommas"/>, <see cref="
JsonReaderOptions
.MaxDepth"/>, and <see cref="
JsonReaderOptions
.CommentHandling"/> are used while reading.
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
28
internal const int DefaultMaxDepth =
JsonReaderOptions
.DefaultMaxDepth;
1077
internal
JsonReaderOptions
GetReaderOptions()