System.Text.Json.JsonConstants
namespace System.Text.Json
{
internal static class JsonConstants
{
public const string DoubleFormatString = "G17";
public const string SingleFormatString = "G9";
public const int StackallocByteThreshold = 256;
public const int StackallocCharThreshold = 128;
public const byte OpenBrace = 123;
public const byte CloseBrace = 125;
public const byte OpenBracket = 91;
public const byte CloseBracket = 93;
public const byte Space = 32;
public const byte CarriageReturn = 13;
public const byte LineFeed = 10;
public const byte Tab = 9;
public const byte ListSeparator = 44;
public const byte KeyValueSeparator = 58;
public const byte Quote = 34;
public const byte BackSlash = 92;
public const byte Slash = 47;
public const byte BackSpace = 8;
public const byte FormFeed = 12;
public const byte Asterisk = 42;
public const byte Colon = 58;
public const byte Period = 46;
public const byte Plus = 43;
public const byte Hyphen = 45;
public const byte UtcOffsetToken = 90;
public const byte TimePrefix = 84;
public const string NewLineLineFeed = "\n";
public const string NewLineCarriageReturnLineFeed = "\r\n";
public const byte StartingByteOfNonStandardSeparator = 226;
public const int MaximumFloatingPointConstantLength = 9;
public const int RemoveFlagsBitMask = int.MaxValue;
public const int MaxExpansionFactorWhileEscaping = 6;
public const int MaxExpansionFactorWhileTranscoding = 3;
public const long ArrayPoolMaxSizeBeforeUsingNormalAlloc = 1048576;
public const int MaxUtf16RawValueLength = 715827882;
public const int MaxEscapedTokenSize = 1000000000;
public const int MaxUnescapedTokenSize = 166666666;
public const int MaxCharacterTokenSize = 166666666;
public const int MaximumFormatBooleanLength = 5;
public const int MaximumFormatInt64Length = 20;
public const int MaximumFormatUInt32Length = 10;
public const int MaximumFormatUInt64Length = 20;
public const int MaximumFormatDoubleLength = 128;
public const int MaximumFormatSingleLength = 128;
public const int MaximumFormatDecimalLength = 31;
public const int MaximumFormatGuidLength = 36;
public const int MaximumEscapedGuidLength = 216;
public const int MaximumFormatDateTimeLength = 27;
public const int MaximumFormatDateTimeOffsetLength = 33;
public const int MaxDateTimeUtcOffsetHours = 14;
public const int DateTimeNumFractionDigits = 7;
public const int MaxDateTimeFraction = 9999999;
public const int DateTimeParseNumFractionDigits = 16;
public const int MaximumDateTimeOffsetParseLength = 42;
public const int MinimumDateTimeParseLength = 10;
public const int MaximumEscapedDateTimeOffsetParseLength = 252;
public const int MaximumLiteralLength = 5;
public const char HighSurrogateStart = '�';
public const char HighSurrogateEnd = '�';
public const char LowSurrogateStart = '�';
public const char LowSurrogateEnd = '�';
public const int UnicodePlane01StartValue = 65536;
public const int HighSurrogateStartValue = 55296;
public const int HighSurrogateEndValue = 56319;
public const int LowSurrogateStartValue = 56320;
public const int LowSurrogateEndValue = 57343;
public const int BitShiftBy10 = 1024;
public const int UnboxedParameterCountThreshold = 4;
public const char DefaultIndentCharacter = ' ';
public const char TabIndentCharacter = '\t';
public const int DefaultIndentSize = 2;
public const int MinimumIndentSize = 0;
public const int MaximumIndentSize = 127;
public static ReadOnlySpan<byte> Utf8Bom { get; }
public static ReadOnlySpan<byte> TrueValue { get; }
public static ReadOnlySpan<byte> FalseValue { get; }
public static ReadOnlySpan<byte> NullValue { get; }
public static ReadOnlySpan<byte> NaNValue { get; }
public static ReadOnlySpan<byte> PositiveInfinityValue { get; }
public static ReadOnlySpan<byte> NegativeInfinityValue { get; }
public static ReadOnlySpan<byte> Delimiters { get; }
public static ReadOnlySpan<byte> EscapableChars { get; }
}
}