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

JsonHelpers

static class JsonHelpers
public static readonly Regex IntegerRegex

public static bool AreEqualJsonNumbers(ReadOnlySpan<byte> left, ReadOnlySpan<byte> right)

public static Dictionary<TKey, TValue> CreateDictionaryFromCollection<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>> collection, IEqualityComparer<TKey> comparer)

public static byte[] EscapeValue(ReadOnlySpan<byte> utf8Value, int firstEscapeIndexVal, JavaScriptEncoder encoder)

public static byte[] GetEscapedPropertyNameSection(ReadOnlySpan<byte> utf8Value, JavaScriptEncoder encoder)

public static ReadOnlySpan<byte> GetUnescapedSpan(this ref Utf8JsonReader reader)

public static bool HasAllSet(this BitArray bitArray)

public static bool IsDigit(byte value)

public static bool IsFinite(double value)

public static bool IsFinite(float value)

public static bool IsInRangeInclusive(uint value, uint lowerBound, uint upperBound)

public static bool IsInRangeInclusive(int value, int lowerBound, int upperBound)

public static bool IsInRangeInclusive(long value, long lowerBound, long upperBound)

public static bool IsInRangeInclusive(JsonTokenType value, JsonTokenType lowerBound, JsonTokenType upperBound)

public static bool IsValidDateTimeOffsetParseLength(int length)

public static bool IsValidUnescapedDateTimeOffsetParseLength(int length)

public static bool IsValidUnicodeScalar(uint value)

public static void ReadWithVerify(this ref Utf8JsonReader reader)

public static void SkipWithVerify(this ref Utf8JsonReader reader)

public static T[] TraverseGraphWithTopologicalSort<T>(T entryNode, Func<T, ICollection<T>> getChildren, IEqualityComparer<T> comparer = null)

public static bool TryAdd<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key, TValue value)

public static bool TryAdvanceToNextRootLevelValueWithOptionalReadAhead(this ref Utf8JsonReader reader, bool requiresReadAhead, out bool isAtEndOfStream)

public static bool TryAdvanceWithOptionalReadAhead(this ref Utf8JsonReader reader, bool requiresReadAhead)

public static bool TryDequeue<T>(this Queue<T> queue, out T result)

public static bool TryLookupUtf8Key<TValue>(this Dictionary<string, TValue> dictionary, ReadOnlySpan<byte> utf8Key, out TValue result)

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

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

public static bool TrySkipPartial(this ref Utf8JsonReader reader)

public static string Utf8GetString(ReadOnlySpan<byte> bytes)

public static void ValidateInt32MaxArrayLength(uint length)