<PackageReference Include="System.Text.Json" Version="5.0.0-preview.1.20120.5" />

JsonReaderHelper

static class JsonReaderHelper
public static readonly UTF8Encoding s_utf8Encoding

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

public static string GetUnescapedString(ReadOnlySpan<byte> utf8Source, int idx)

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 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 TryGetUnescapedBase64Bytes(ReadOnlySpan<byte> utf8Source, int idx, out byte bytes)

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

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