JsonHelpers

JsonHelpers class

class JsonHelpers

Methods

MethodDescription
static bool AreEqualJsonNumbers(ReadOnlySpan<uint8_t>, ReadOnlySpan<uint8_t>)
static System::SharedPtr<Collections::Generic::Dictionary<TKey, TValue>> CreateDictionaryFromCollection(System::SharedPtr<Collections::Generic::IEnumerable<Collections::Generic::KeyValuePair<TKey, TValue>>>, System::SharedPtr<Collections::Generic::IEqualityComparer<TKey>>)
static System::SharedPtr<Array<uint8_t>> EscapeValue(ReadOnlySpan<uint8_t>, int32_t, System::SharedPtr<Encodings::Web::JavaScriptEncoder>)
static System::SharedPtr<RegularExpressions::Regex> get_IntegerRegex()
static System::SharedPtr<Array<uint8_t>> GetEscapedPropertyNameSection(ReadOnlySpan<uint8_t>, System::SharedPtr<Encodings::Web::JavaScriptEncoder>)
static ReadOnlySpan<uint8_t> GetUnescapedSpan(Utf8JsonReader&)
static bool IsDigit(uint8_t)
static bool IsInRangeInclusive(uint32_t, uint32_t, uint32_t)
static bool IsInRangeInclusive(int32_t, int32_t, int32_t)
static bool IsInRangeInclusive(int64_t, int64_t, int64_t)
static bool IsInRangeInclusive(JsonTokenType, JsonTokenType, JsonTokenType)
static bool IsValidDateTimeOffsetParseLength(int32_t)
static bool IsValidUnescapedDateTimeOffsetParseLength(int32_t)
JsonHelpers()
static void ReadWithVerify(Utf8JsonReader&)
static bool RequiresSpecialNumberHandlingOnWrite(Nullable<Serialization::JsonNumberHandling>)
static void SkipWithVerify(Utf8JsonReader&)
static void StableSortByKey(System::SharedPtr<Collections::Generic::List<T>>, Func<T, TKey>)
static System::SharedPtr<Array<T>> TraverseGraphWithTopologicalSort(T, Func<T, System::SharedPtr<Collections::Generic::ICollection<T>>>, System::SharedPtr<Collections::Generic::IEqualityComparer<T>>)
static bool TryAdvanceWithOptionalReadAhead(Utf8JsonReader&, bool)
static bool TryLookupUtf8Key(System::SharedPtr<Collections::Generic::Dictionary<String, TValue>>, ReadOnlySpan<uint8_t>, TValue&)
static bool TryParseAsISO(ReadOnlySpan<uint8_t>, DateTime&)
static bool TryParseAsISO(ReadOnlySpan<uint8_t>, DateTimeOffset&)
static bool TrySkipPartial(Utf8JsonReader&)
static void ValidateInt32MaxArrayLength(uint32_t)

See Also