2 instantiations of JsonNodeOptions
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
23
private static readonly JsonNodeOptions s_ignoreCaseNodeOptions =
new
() { PropertyNameCaseInsensitive = true };
System.Text.Json (1)
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
1034
return new
JsonNodeOptions
67 references to JsonNodeOptions
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
23
private static readonly
JsonNodeOptions
s_ignoreCaseNodeOptions = new() { PropertyNameCaseInsensitive = true };
System.Text.Json (66)
System\Text\Json\Nodes\JsonArray.cs (5)
32
public JsonArray(
JsonNodeOptions
? options = null) : base(options) { }
39
public JsonArray(
JsonNodeOptions
options, params JsonNode?[] items) : base(options)
49
public JsonArray(
JsonNodeOptions
options, params ReadOnlySpan<JsonNode?> items) : base(options)
193
public static JsonArray? Create(JsonElement element,
JsonNodeOptions
? options = null)
203
internal JsonArray(JsonElement element,
JsonNodeOptions
? options = null) : base(options)
System\Text\Json\Nodes\JsonNode.cs (4)
21
private
JsonNodeOptions
? _options;
31
public
JsonNodeOptions
? Options
47
internal JsonNode(
JsonNodeOptions
? options = null)
372
internal static JsonNode? ConvertFromValue<T>(T? value,
JsonNodeOptions
? options = null)
System\Text\Json\Nodes\JsonNode.Parse.cs (5)
49
JsonNodeOptions
? nodeOptions = null)
72
JsonNodeOptions
? nodeOptions = null,
98
JsonNodeOptions
? nodeOptions = null,
120
JsonNodeOptions
? nodeOptions = null,
148
JsonNodeOptions
? nodeOptions = null,
System\Text\Json\Nodes\JsonObject.cs (4)
29
public JsonObject(
JsonNodeOptions
? options = null) : base(options) { }
36
public JsonObject(IEnumerable<KeyValuePair<string, JsonNode?>> properties,
JsonNodeOptions
? options = null) : this(options)
59
public static JsonObject? Create(JsonElement element,
JsonNodeOptions
? options = null)
69
internal JsonObject(JsonElement element,
JsonNodeOptions
? options = null) : this(options)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
250
private static OrderedDictionary<string, JsonNode?> CreateDictionary(
JsonNodeOptions
? options, int capacity = 0)
System\Text\Json\Nodes\JsonValue.CreateOverloads.cs (35)
17
public static JsonValue Create(bool value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<bool>(value, JsonMetadataServices.BooleanConverter, options);
25
public static JsonValue? Create(bool? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<bool>(value.Value, JsonMetadataServices.BooleanConverter, options) : null;
33
public static JsonValue Create(byte value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<byte>(value, JsonMetadataServices.ByteConverter, options);
41
public static JsonValue? Create(byte? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<byte>(value.Value, JsonMetadataServices.ByteConverter, options) : null;
49
public static JsonValue Create(char value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<char>(value, JsonMetadataServices.CharConverter, options);
57
public static JsonValue? Create(char? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<char>(value.Value, JsonMetadataServices.CharConverter, options) : null;
65
public static JsonValue Create(DateTime value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<DateTime>(value, JsonMetadataServices.DateTimeConverter, options);
73
public static JsonValue? Create(DateTime? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<DateTime>(value.Value, JsonMetadataServices.DateTimeConverter, options) : null;
81
public static JsonValue Create(DateTimeOffset value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<DateTimeOffset>(value, JsonMetadataServices.DateTimeOffsetConverter, options);
89
public static JsonValue? Create(DateTimeOffset? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<DateTimeOffset>(value.Value, JsonMetadataServices.DateTimeOffsetConverter, options) : null;
97
public static JsonValue Create(decimal value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<decimal>(value, JsonMetadataServices.DecimalConverter, options);
105
public static JsonValue? Create(decimal? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<decimal>(value.Value, JsonMetadataServices.DecimalConverter, options) : null;
113
public static JsonValue Create(double value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<double>(value, JsonMetadataServices.DoubleConverter, options);
121
public static JsonValue? Create(double? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<double>(value.Value, JsonMetadataServices.DoubleConverter, options) : null;
129
public static JsonValue Create(Guid value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<Guid>(value, JsonMetadataServices.GuidConverter, options);
137
public static JsonValue? Create(Guid? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<Guid>(value.Value, JsonMetadataServices.GuidConverter, options) : null;
145
public static JsonValue Create(short value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<short>(value, JsonMetadataServices.Int16Converter, options);
153
public static JsonValue? Create(short? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<short>(value.Value, JsonMetadataServices.Int16Converter, options) : null;
161
public static JsonValue Create(int value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<int>(value, JsonMetadataServices.Int32Converter, options);
169
public static JsonValue? Create(int? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<int>(value.Value, JsonMetadataServices.Int32Converter, options) : null;
177
public static JsonValue Create(long value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<long>(value, JsonMetadataServices.Int64Converter, options);
185
public static JsonValue? Create(long? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<long>(value.Value, JsonMetadataServices.Int64Converter, options) : null;
194
public static JsonValue Create(sbyte value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<sbyte>(value, JsonMetadataServices.SByteConverter, options);
203
public static JsonValue? Create(sbyte? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<sbyte>(value.Value, JsonMetadataServices.SByteConverter, options) : null;
211
public static JsonValue Create(float value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<float>(value, JsonMetadataServices.SingleConverter, options);
219
public static JsonValue? Create(float? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<float>(value.Value, JsonMetadataServices.SingleConverter, options) : null;
228
public static JsonValue? Create(string? value,
JsonNodeOptions
? options = null) => value != null ? new JsonValuePrimitive<string>(value, JsonMetadataServices.StringConverter!, options) : null;
237
public static JsonValue Create(ushort value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<ushort>(value, JsonMetadataServices.UInt16Converter, options);
246
public static JsonValue? Create(ushort? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<ushort>(value.Value, JsonMetadataServices.UInt16Converter, options) : null;
255
public static JsonValue Create(uint value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<uint>(value, JsonMetadataServices.UInt32Converter, options);
264
public static JsonValue? Create(uint? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<uint>(value.Value, JsonMetadataServices.UInt32Converter, options) : null;
273
public static JsonValue Create(ulong value,
JsonNodeOptions
? options = null) => new JsonValuePrimitive<ulong>(value, JsonMetadataServices.UInt64Converter, options);
282
public static JsonValue? Create(ulong? value,
JsonNodeOptions
? options = null) => value.HasValue ? new JsonValuePrimitive<ulong>(value.Value, JsonMetadataServices.UInt64Converter, options) : null;
290
public static JsonValue? Create(JsonElement value,
JsonNodeOptions
? options = null) => JsonValue.CreateFromElement(ref value, options);
298
public static JsonValue? Create(JsonElement? value,
JsonNodeOptions
? options = null) => value is JsonElement element ? JsonValue.CreateFromElement(ref element, options) : null;
System\Text\Json\Nodes\JsonValue.cs (4)
19
private protected JsonValue(
JsonNodeOptions
? options) : base(options) { }
50
public static JsonValue? Create<T>(T? value,
JsonNodeOptions
? options = null)
82
public static JsonValue? Create<T>(T? value, JsonTypeInfo<T> jsonTypeInfo,
JsonNodeOptions
? options = null)
164
internal static JsonValue CreateFromTypeInfo<T>(T value, JsonTypeInfo<T> jsonTypeInfo,
JsonNodeOptions
? options = null)
System\Text\Json\Nodes\JsonValueOfElement.cs (1)
14
public JsonValueOfElement(JsonElement value,
JsonNodeOptions
? options) : base(value, options)
System\Text\Json\Nodes\JsonValueOfT.cs (1)
15
protected JsonValue(TValue value,
JsonNodeOptions
? options) : base(options)
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
20
public JsonValueCustomized(TValue value, JsonTypeInfo<TValue> jsonTypeInfo,
JsonNodeOptions
? options = null): base(value, options)
System\Text\Json\Nodes\JsonValueOfTPrimitive.cs (1)
18
public JsonValuePrimitive(TValue value, JsonConverter<TValue> converter,
JsonNodeOptions
? options) : base(value, options)
System\Text\Json\Serialization\Converters\Node\JsonArrayConverter.cs (1)
37
public static JsonArray ReadList(ref Utf8JsonReader reader,
JsonNodeOptions
? options = null)
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (1)
60
public static JsonNode? Create(JsonElement element,
JsonNodeOptions
? options)
System\Text\Json\Serialization\Converters\Node\JsonObjectConverter.cs (1)
62
public static JsonObject ReadObject(ref Utf8JsonReader reader,
JsonNodeOptions
? options)
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
1032
internal
JsonNodeOptions
GetNodeOptions()