7 references to Utf8GetString
System.Text.Json (7)
System\Text\Json\Nodes\JsonNode.To.cs (2)
30
return JsonHelpers.
Utf8GetString
(output.WrittenMemory.Span);
63
return JsonHelpers.
Utf8GetString
(output.WrittenMemory.Span);
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (2)
47
string stringPropertyName = JsonHelpers.
Utf8GetString
(unescapedPropertyName);
54
state.Current.JsonPropertyNameAsString = JsonHelpers.
Utf8GetString
(unescapedPropertyName);
System\Text\Json\Serialization\ReadStack.cs (1)
364
propertyName = JsonHelpers.
Utf8GetString
(utf8PropertyName);
System\Text\Json\ThrowHelper.cs (1)
357
string message = GetResourceString(ref json, resource, nextByte, JsonHelpers.
Utf8GetString
(bytes));
System\Text\Json\ThrowHelper.Serialization.cs (1)
744
ThrowJsonException(SR.Format(SR.DuplicateMetadataProperty, JsonHelpers.
Utf8GetString
(utf8PropertyName)));