JsonWriterHelper

JsonWriterHelper class

class JsonWriterHelper

Methods

MethodDescription
static void EscapeString(ReadOnlySpan<uint8_t>, Span<uint8_t>, int32_t, System::SharedPtr<Encodings::Web::JavaScriptEncoder>, int32_t&)
static void EscapeString(ReadOnlySpan<uint8_t>, Span<uint8_t>, int32_t, System::SharedPtr<Encodings::Web::JavaScriptEncoder>, int32_t&, int32_t&, bool)
static void EscapeString(ReadOnlySpan<char16_t>, Span<char16_t>, int32_t, System::SharedPtr<Encodings::Web::JavaScriptEncoder>, int32_t&)
static void EscapeString(ReadOnlySpan<char16_t>, Span<char16_t>, int32_t, System::SharedPtr<Encodings::Web::JavaScriptEncoder>, int32_t&, int32_t&, bool)
static int32_t GetMaxEscapedLength(int32_t, int32_t)
JsonWriterHelper()
static int32_t NeedsEscaping(ReadOnlySpan<uint8_t>, System::SharedPtr<Encodings::Web::JavaScriptEncoder>)
static int32_t NeedsEscaping(ReadOnlySpan<char16_t>, System::SharedPtr<Encodings::Web::JavaScriptEncoder>)
static Buffers::OperationStatus ToUtf8(ReadOnlySpan<char16_t>, Span<uint8_t>, int32_t&)
static void TrimDateTimeOffset(Span<uint8_t>, int32_t&)
static void ValidateDouble(double)
static void ValidateIndentCharacter(char16_t)
static void ValidateIndentSize(int32_t)
static void ValidateNewLine(String)
static void ValidateNumber(ReadOnlySpan<uint8_t>)
static void ValidateProperty(ReadOnlySpan<uint8_t>)
static void ValidateProperty(ReadOnlySpan<char16_t>)
static void ValidatePropertyAndValue(ReadOnlySpan<char16_t>, ReadOnlySpan<uint8_t>)
static void ValidatePropertyAndValue(ReadOnlySpan<uint8_t>, ReadOnlySpan<char16_t>)
static void ValidatePropertyAndValue(ReadOnlySpan<uint8_t>, ReadOnlySpan<uint8_t>)
static void ValidatePropertyAndValue(ReadOnlySpan<char16_t>, ReadOnlySpan<char16_t>)
static void ValidatePropertyNameLength(ReadOnlySpan<char16_t>)
static void ValidatePropertyNameLength(ReadOnlySpan<uint8_t>)
static void ValidateSingle(float)
static void ValidateValue(ReadOnlySpan<uint8_t>)
static void ValidateValue(ReadOnlySpan<char16_t>)
static void WriteDateTimeOffsetTrimmed(Span<uint8_t>, DateTimeOffset, int32_t&)
static void WriteDateTimeTrimmed(Span<uint8_t>, DateTime, int32_t&)
static void WriteIndentation(Span<uint8_t>, int32_t, uint8_t)
static T WriteString(ReadOnlySpan<uint8_t>, JsonWriterHelper::WriteCallback<T>)

Fields

FieldDescription
static LastAsciiCharacter

Typedefs

TypedefDescription
WriteCallback

See Also