6 references to Parse
System.Text.Json (6)
System\Text\Json\Nodes\JsonNode.Parse.cs (1)
98
JsonElement element = JsonElement.
Parse
(utf8Json, documentOptions);
System\Text\Json\Nodes\JsonValueOfJsonPrimitive.cs (3)
71
value = (T)(object)JsonWriterHelper.WriteString(_value.Span, static serialized => JsonElement.
Parse
(serialized));
155
value = (T)(object)JsonElement.
Parse
(_value ? JsonConstants.TrueValue : JsonConstants.FalseValue);
202
value = (T)(object)JsonElement.
Parse
(_value);
System\Text\Json\Serialization\JsonSerializer.Write.Element.cs (2)
133
return JsonElement.
Parse
(output.WrittenSpan, options.GetDocumentOptions());
151
return JsonElement.
Parse
(output.WrittenSpan, options.GetDocumentOptions());