2 instantiations of JsonNodeConverter
System.Text.Json (2)
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (1)
22
public static JsonNodeConverter Instance => s_nodeConverter ??= new
JsonNodeConverter
();
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Converters.cs (1)
146
public static JsonConverter<JsonNode?> JsonNodeConverter => s_jsonNodeConverter ??= new
JsonNodeConverter
();
17 references to JsonNodeConverter
System.Text.Json (17)
System\Text\Json\Nodes\JsonArray.cs (1)
312
JsonNode? node =
JsonNodeConverter
.Create(element, Options);
System\Text\Json\Nodes\JsonNode.cs (1)
386
return
JsonNodeConverter
.Create(element, options);
System\Text\Json\Nodes\JsonNode.Parse.cs (5)
52
return
JsonNodeConverter
.Create(element, nodeOptions);
81
return
JsonNodeConverter
.Create(element, nodeOptions);
102
return
JsonNodeConverter
.Create(element, nodeOptions);
129
return
JsonNodeConverter
.Create(element, nodeOptions);
158
return
JsonNodeConverter
.Create(document.RootElement, nodeOptions);
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
231
JsonNode? node =
JsonNodeConverter
.Create(jElementProperty.Value, Options);
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (2)
17
private static
JsonNodeConverter
? s_nodeConverter;
22
public static
JsonNodeConverter
Instance => s_nodeConverter ??= new JsonNodeConverter();
System\Text\Json\Serialization\Converters\Node\JsonNodeConverterFactory.cs (4)
16
return
JsonNodeConverter
.ValueConverter;
21
return
JsonNodeConverter
.ObjectConverter;
26
return
JsonNodeConverter
.ArrayConverter;
30
return
JsonNodeConverter
.Instance;
System\Text\Json\Serialization\Converters\Node\JsonObjectConverter.cs (1)
25
bool success =
JsonNodeConverter
.Instance.TryRead(ref reader, typeof(JsonNode), options, ref state, out JsonNode? value, out _);
System\Text\Json\Serialization\Converters\Object\ObjectConverter.cs (2)
108
return
JsonNodeConverter
.Instance.Read(ref reader, typeToConvert, options);
135
JsonNode? node =
JsonNodeConverter
.Instance.Read(ref reader, typeToConvert, options);