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