<PackageReference Include="System.Text.Json" Version="9.0.0-preview.4.24266.19" />

JsonReaderHelper

static class JsonReaderHelper
public static readonly UTF8Encoding s_utf8Encoding

public static bool ContainsSpecialCharacters(this ReadOnlySpan<char> text)

public static ValueTuple<int, int> CountNewLines(ReadOnlySpan<byte> data)

public static ReadOnlySpan<byte> GetUnescapedSpan(ReadOnlySpan<byte> utf8Source)

public static string GetUnescapedString(ReadOnlySpan<byte> utf8Source)

public static int IndexOfQuoteOrAnyControlOrBackSlash(this ReadOnlySpan<byte> span)

public static bool IsHexDigit(byte nextByte)

public static bool IsTokenTypePrimitive(JsonTokenType tokenType)

public static string TranscodeHelper(ReadOnlySpan<byte> utf8Unescaped)

public static int TranscodeHelper(ReadOnlySpan<byte> utf8Unescaped, Span<char> destination)

public static bool TryDecodeBase64(ReadOnlySpan<byte> utf8Unescaped, out byte bytes)

public static bool TryDecodeBase64InPlace(Span<byte> utf8Unescaped, out byte bytes)

public static bool TryGetEscapedDateTime(ReadOnlySpan<byte> source, out DateTime value)

public static bool TryGetEscapedDateTimeOffset(ReadOnlySpan<byte> source, out DateTimeOffset value)

public static bool TryGetEscapedGuid(ReadOnlySpan<byte> source, out Guid value)

public static bool TryGetFloatingPointConstant(ReadOnlySpan<byte> span, out float value)

public static bool TryGetFloatingPointConstant(ReadOnlySpan<byte> span, out double value)

public static bool TryGetUnescapedBase64Bytes(ReadOnlySpan<byte> utf8Source, out byte bytes)

public static bool UnescapeAndCompare(ReadOnlySpan<byte> utf8Source, ReadOnlySpan<byte> other)

public static bool UnescapeAndCompare(ReadOnlySequence<byte> utf8Source, ReadOnlySpan<byte> other)

public static void ValidateUtf8(ReadOnlySpan<byte> utf8Buffer)