3 instantiations of JsonReaderOptions
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
180
var reader = new Utf8JsonReader(jsonData, new
JsonReaderOptions
System.Text.Json (2)
System\Text\Json\Document\JsonDocumentOptions.cs (1)
74
return new
JsonReaderOptions
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
1042
return new
JsonReaderOptions
39 references to JsonReaderOptions
System.Text.Json (39)
System\Text\Json\Document\JsonDocument.cs (2)
948
JsonReaderOptions
readerOptions,
1119
JsonReaderOptions
readerOptions,
System\Text\Json\Document\JsonDocument.Parse.cs (3)
79
JsonReaderOptions
readerOptions = options.GetReaderOptions();
698
JsonReaderOptions
readerOptions,
725
JsonReaderOptions
readerOptions,
System\Text\Json\Document\JsonDocumentOptions.cs (1)
72
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.Stream.cs (2)
535
JsonReaderOptions
readerOptions = jsonTypeInfo.Options.GetReaderOptions();
551
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.
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)
28
internal const int DefaultMaxDepth =
JsonReaderOptions
.DefaultMaxDepth;
1040
internal
JsonReaderOptions
GetReaderOptions()