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