3 instantiations of JsonReaderOptions
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
180var reader = new Utf8JsonReader(jsonData, new JsonReaderOptions
System.Text.Json (2)
System\Text\Json\Document\JsonDocumentOptions.cs (1)
74return new JsonReaderOptions
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
1042return new JsonReaderOptions
39 references to JsonReaderOptions
System.Text.Json (39)
System\Text\Json\Document\JsonDocument.cs (2)
948JsonReaderOptions readerOptions, 1119JsonReaderOptions readerOptions,
System\Text\Json\Document\JsonDocument.Parse.cs (3)
79JsonReaderOptions readerOptions = options.GetReaderOptions(); 698JsonReaderOptions readerOptions, 725JsonReaderOptions readerOptions,
System\Text\Json\Document\JsonDocumentOptions.cs (1)
72internal JsonReaderOptions GetReaderOptions()
System\Text\Json\Reader\JsonReaderState.cs (4)
24internal readonly JsonReaderOptions _readerOptions; 39public JsonReaderState(JsonReaderOptions options = default) 65JsonReaderOptions readerOptions, 85public JsonReaderOptions Options => _readerOptions;
System\Text\Json\Reader\Utf8JsonReader.cs (3)
37private JsonReaderOptions _readerOptions; 231_readerOptions.MaxDepth = JsonReaderOptions.DefaultMaxDepth; // If max depth is not set, revert to the default depth. 265public 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. 115public Utf8JsonReader(ReadOnlySequence<byte> jsonData, JsonReaderOptions options = default)
System\Text\Json\Serialization\JsonSerializer.Read.Stream.cs (2)
535JsonReaderOptions readerOptions = jsonTypeInfo.Options.GetReaderOptions(); 551JsonReaderOptions 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. 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. 159/// Hence, <see cref="JsonReaderOptions.AllowTrailingCommas"/>, <see cref="JsonReaderOptions.MaxDepth"/>, and <see cref="JsonReaderOptions.CommentHandling"/> are used while reading. 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. 208/// Hence, <see cref="JsonReaderOptions.AllowTrailingCommas"/>, <see cref="JsonReaderOptions.MaxDepth"/>, and <see cref="JsonReaderOptions.CommentHandling"/> are used while reading. 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. 268/// 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)
28internal const int DefaultMaxDepth = JsonReaderOptions.DefaultMaxDepth; 1040internal JsonReaderOptions GetReaderOptions()