Zdexby TheHolyOneZ
49,743 classes
Class

JsonDocument

: Object
System.Text.Json.JsonDocument, Sentry.System.Text.Json 0x0058 (88 B) inherited 0x0010 Sentry.System.Text.Json.dll
implements IDisposable
0x00x0058

Members 11

OffsetSizeNameTypeFlagsDefault
0x10_utf8JsonReadOnlyMemory<System.Byte>Private—
0x18_parsedDataMetadataDbPrivate—
0x08_extraRentedArrayPoolBytesbyte[]Private—
0x01_hasExtraRentedArrayPoolBytesboolPrivate—
0x00410x07padding / unreflected
0x08_extraPooledByteBufferWriterPooledByteBufferWriterPrivate—
0x01_hasExtraPooledByteBufferWriterboolPrivate—
0x01<IsDisposable>k__BackingFieldboolPrivate+1 flags—
0x08s_nullLiteralJsonDocumentPrivateStatic—
0x08s_trueLiteralJsonDocumentPrivateStatic—
0x08s_falseLiteralJsonDocumentPrivateStatic—
—0x04UnseekableStreamInitialRentSizeintPrivateStatic+1 flags0
0x00520x06unreflected bytes to end of JsonDocument

Functions 68

SignatureFlagsNativeParams
bool get_IsDisposable()2 flags0x01
JsonElement get_RootElement()Public+1 flags0x10
void .ctor(const ReadOnlyMemory<System.Byte>& utf8Json, const MetadataDb& parsedData, const byte[]& extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter, bool isDisposable)Private+1 flags0x18
void Dispose()PublicFinal+2 flags0x00
void WriteTo(Utf8JsonWriter writer)Public0x08
JsonTokenType GetJsonTokenType(int index)1 flags0x04
int GetArrayLength(int index)1 flags0x04
JsonElement GetArrayIndexElement(int currentIndex, int arrayIndex)1 flags0x10
int GetEndIndex(int index, bool includeEndElement)1 flags0x04
ReadOnlyMemory<System.Byte> GetRootRawValue()1 flags0x10
ReadOnlyMemory<System.Byte> GetRawValue(int index, bool includeQuotes)1 flags0x10
ReadOnlyMemory<System.Byte> GetPropertyRawValue(int valueIndex)Private0x10
string GetString(int index, const JsonTokenType& expectedType)1 flags0x08
bool TextEquals(int index, const ReadOnlySpan<System.Char>& otherText, bool isPropertyName)1 flags0x18
bool TextEquals(int index, const ReadOnlySpan<System.Byte>& otherUtf8Text, bool isPropertyName, bool shouldUnescape)1 flags0x18
string GetNameOfPropertyValue(int index)1 flags0x08
bool TryGetValue(int index, ref byte[]& value)1 flags0x08
bool TryGetValue(int index, ref sbyte& value)1 flags0x04
bool TryGetValue(int index, ref byte& value)1 flags0x04
bool TryGetValue(int index, ref short& value)1 flags0x04
bool TryGetValue(int index, ref ushort& value)1 flags0x04
bool TryGetValue(int index, ref int& value)1 flags0x04
bool TryGetValue(int index, ref uint& value)1 flags0x04
bool TryGetValue(int index, ref long& value)1 flags0x08
bool TryGetValue(int index, ref ulong& value)1 flags0x08
bool TryGetValue(int index, ref double& value)1 flags0x08
bool TryGetValue(int index, ref float& value)1 flags0x04
bool TryGetValue(int index, ref decimal& value)1 flags0x10
bool TryGetValue(int index, ref DateTime& value)1 flags0x08
bool TryGetValue(int index, ref DateTimeOffset& value)1 flags0x10
bool TryGetValue(int index, ref Guid& value)1 flags0x10
string GetRawValueAsString(int index)1 flags0x08
string GetPropertyRawValueAsString(int valueIndex)1 flags0x08
JsonElement CloneElement(int index)1 flags0x10
void WriteElementTo(int index, Utf8JsonWriter writer)1 flags0x08
void WriteComplexElement(int index, Utf8JsonWriter writer)Private0x08
ReadOnlySpan<System.Byte> UnescapeString(ref DbRow& row, ref ArraySegment<System.Byte>& rented)Private0x18
void ClearAndReturn(const ArraySegment<System.Byte>& rented)PrivateStatic0x10
void WritePropertyName(ref DbRow& row, Utf8JsonWriter writer)Private0x0C
void WriteString(ref DbRow& row, Utf8JsonWriter writer)Private0x0C
void Parse(const ReadOnlySpan<System.Byte>& utf8JsonSpan, const JsonReaderOptions& readerOptions, ref MetadataDb& database, ref StackRowStack& stack)PrivateStatic0x18
void CheckNotDisposed()Private0x00
void CheckExpectedType(const JsonTokenType& expected, const JsonTokenType& actual)Private0x01
void CheckSupportedOptions(const JsonReaderOptions& readerOptions, const string& paramName)PrivateStatic0x08
JsonDocument Parse(const ReadOnlyMemory<System.Byte>& utf8Json, const JsonDocumentOptions& options)PublicStatic0x10
JsonDocument Parse(const ReadOnlySequence<System.Byte>& utf8Json, const JsonDocumentOptions& options)PublicStatic0x20
JsonDocument Parse(Stream utf8Json, const JsonDocumentOptions& options)PublicStatic0x08
JsonDocument ParseRented(PooledByteBufferWriter utf8Json, const JsonDocumentOptions& options)Static+1 flags0x08
JsonDocument ParseValue(Stream utf8Json, const JsonDocumentOptions& options)Static+1 flags0x08
JsonDocument ParseValue(const ReadOnlySpan<System.Byte>& utf8Json, const JsonDocumentOptions& options)Static+1 flags0x18
JsonDocument ParseValue(const string& json, const JsonDocumentOptions& options)Static+1 flags0x08
Task<System.Text.Json.JsonDocument> ParseAsync(Stream utf8Json, const JsonDocumentOptions& options, const CancellationToken& cancellationToken)PublicStatic0x08
Task<System.Text.Json.JsonDocument> ParseAsyncCore(Stream utf8Json, const JsonDocumentOptions& options, const CancellationToken& cancellationToken)PrivateStatic0x08
JsonDocument Parse(const ReadOnlyMemory<System.Char>& json, const JsonDocumentOptions& options)PublicStatic0x10
JsonDocument ParseValue(const ReadOnlyMemory<System.Char>& json, const JsonDocumentOptions& options)Static+1 flags0x10
JsonDocument Parse(const string& json, const JsonDocumentOptions& options)PublicStatic0x08
bool TryParseValue(ref Utf8JsonReader& reader, ref JsonDocument& document)PublicStatic0xF0
JsonDocument ParseValue(ref Utf8JsonReader& reader)PublicStatic0xF0
bool TryParseValue(ref Utf8JsonReader& reader, ref JsonDocument& document, bool shouldThrow, bool useArrayPools)Static+1 flags0xF0
JsonDocument CreateForLiteral(const JsonTokenType& tokenType)PrivateStatic0x08
JsonDocument Parse(const ReadOnlyMemory<System.Byte>& utf8Json, const JsonReaderOptions& readerOptions, const byte[]& extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)PrivateStatic0x10
JsonDocument ParseUnrented(const ReadOnlyMemory<System.Byte>& utf8Json, const JsonReaderOptions& readerOptions, const JsonTokenType& tokenType)PrivateStatic0x10
ArraySegment<System.Byte> ReadToEnd(Stream stream)PrivateStatic0x10
Task<System.ArraySegment<System.Byte>> ReadToEndAsync(Stream stream, const CancellationToken& cancellationToken)PrivateStatic0x08
bool TryGetNamedPropertyValue(int index, const ReadOnlySpan<System.Char>& propertyName, ref JsonElement& value)1 flags0x18
bool TryGetNamedPropertyValue(int index, const ReadOnlySpan<System.Byte>& propertyName, ref JsonElement& value)1 flags0x18
bool TryGetNamedPropertyValue(int startIndex, int endIndex, const ReadOnlySpan<System.Byte>& propertyName, ref JsonElement& value)Private0x18
JsonDocument <CreateForLiteral>g__Create|74_0(const byte[]& utf8Json, ref <>c__DisplayClass74_0& )Static+1 flags0x08

Used by 14

types with a member, parameter or interface of this type