JsonHelpers
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 bool IsInRangeInclusive(JsonTokenType value, JsonTokenType lowerBound, JsonTokenType upperBound)
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 TryLookupUtf8Key<TValue>(this Dictionary<string, TValue> dictionary, ReadOnlySpan<byte> utf8Key, out TValue result)