implements IDisposable
0x00x0058
Members 11
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x10 | _utf8Json | ReadOnlyMemory<System.Byte> | Private | — | |
| 0x18 | _parsedData | MetadataDb | Private | — | |
| 0x08 | _extraRentedArrayPoolBytes | byte[] | Private | — | |
| 0x01 | _hasExtraRentedArrayPoolBytes | bool | Private | — | |
| 0x0041 | 0x07 | padding / unreflected | |||
| 0x08 | _extraPooledByteBufferWriter | PooledByteBufferWriter | Private | — | |
| 0x01 | _hasExtraPooledByteBufferWriter | bool | Private | — | |
| 0x01 | <IsDisposable>k__BackingField | bool | Private+1 flags | — | |
| 0x08 | s_nullLiteral | JsonDocument | PrivateStatic | — | |
| 0x08 | s_trueLiteral | JsonDocument | PrivateStatic | — | |
| 0x08 | s_falseLiteral | JsonDocument | PrivateStatic | — | |
| — | 0x04 | UnseekableStreamInitialRentSize | int | PrivateStatic+1 flags | 0 |
| 0x0052 | 0x06 | unreflected bytes to end of JsonDocument | |||
Functions 68
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool get_IsDisposable() | 2 flags | 0x01 | |
| JsonElement get_RootElement() | Public+1 flags | 0x10 | |
| void .ctor(const ReadOnlyMemory<System.Byte>& utf8Json, const MetadataDb& parsedData, const byte[]& extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter, bool isDisposable) | Private+1 flags | 0x18 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| void WriteTo(Utf8JsonWriter writer) | Public | 0x08 | |
| JsonTokenType GetJsonTokenType(int index) | 1 flags | 0x04 | |
| int GetArrayLength(int index) | 1 flags | 0x04 | |
| JsonElement GetArrayIndexElement(int currentIndex, int arrayIndex) | 1 flags | 0x10 | |
| int GetEndIndex(int index, bool includeEndElement) | 1 flags | 0x04 | |
| ReadOnlyMemory<System.Byte> GetRootRawValue() | 1 flags | 0x10 | |
| ReadOnlyMemory<System.Byte> GetRawValue(int index, bool includeQuotes) | 1 flags | 0x10 | |
| ReadOnlyMemory<System.Byte> GetPropertyRawValue(int valueIndex) | Private | 0x10 | |
| string GetString(int index, const JsonTokenType& expectedType) | 1 flags | 0x08 | |
| bool TextEquals(int index, const ReadOnlySpan<System.Char>& otherText, bool isPropertyName) | 1 flags | 0x18 | |
| bool TextEquals(int index, const ReadOnlySpan<System.Byte>& otherUtf8Text, bool isPropertyName, bool shouldUnescape) | 1 flags | 0x18 | |
| string GetNameOfPropertyValue(int index) | 1 flags | 0x08 | |
| bool TryGetValue(int index, ref byte[]& value) | 1 flags | 0x08 | |
| bool TryGetValue(int index, ref sbyte& value) | 1 flags | 0x04 | |
| bool TryGetValue(int index, ref byte& value) | 1 flags | 0x04 | |
| bool TryGetValue(int index, ref short& value) | 1 flags | 0x04 | |
| bool TryGetValue(int index, ref ushort& value) | 1 flags | 0x04 | |
| bool TryGetValue(int index, ref int& value) | 1 flags | 0x04 | |
| bool TryGetValue(int index, ref uint& value) | 1 flags | 0x04 | |
| bool TryGetValue(int index, ref long& value) | 1 flags | 0x08 | |
| bool TryGetValue(int index, ref ulong& value) | 1 flags | 0x08 | |
| bool TryGetValue(int index, ref double& value) | 1 flags | 0x08 | |
| bool TryGetValue(int index, ref float& value) | 1 flags | 0x04 | |
| bool TryGetValue(int index, ref decimal& value) | 1 flags | 0x10 | |
| bool TryGetValue(int index, ref DateTime& value) | 1 flags | 0x08 | |
| bool TryGetValue(int index, ref DateTimeOffset& value) | 1 flags | 0x10 | |
| bool TryGetValue(int index, ref Guid& value) | 1 flags | 0x10 | |
| string GetRawValueAsString(int index) | 1 flags | 0x08 | |
| string GetPropertyRawValueAsString(int valueIndex) | 1 flags | 0x08 | |
| JsonElement CloneElement(int index) | 1 flags | 0x10 | |
| void WriteElementTo(int index, Utf8JsonWriter writer) | 1 flags | 0x08 | |
| void WriteComplexElement(int index, Utf8JsonWriter writer) | Private | 0x08 | |
| ReadOnlySpan<System.Byte> UnescapeString(ref DbRow& row, ref ArraySegment<System.Byte>& rented) | Private | 0x18 | |
| void ClearAndReturn(const ArraySegment<System.Byte>& rented) | PrivateStatic | 0x10 | |
| void WritePropertyName(ref DbRow& row, Utf8JsonWriter writer) | Private | 0x0C | |
| void WriteString(ref DbRow& row, Utf8JsonWriter writer) | Private | 0x0C | |
| void Parse(const ReadOnlySpan<System.Byte>& utf8JsonSpan, const JsonReaderOptions& readerOptions, ref MetadataDb& database, ref StackRowStack& stack) | PrivateStatic | 0x18 | |
| void CheckNotDisposed() | Private | 0x00 | |
| void CheckExpectedType(const JsonTokenType& expected, const JsonTokenType& actual) | Private | 0x01 | |
| void CheckSupportedOptions(const JsonReaderOptions& readerOptions, const string& paramName) | PrivateStatic | 0x08 | |
| JsonDocument Parse(const ReadOnlyMemory<System.Byte>& utf8Json, const JsonDocumentOptions& options) | PublicStatic | 0x10 | |
| JsonDocument Parse(const ReadOnlySequence<System.Byte>& utf8Json, const JsonDocumentOptions& options) | PublicStatic | 0x20 | |
| JsonDocument Parse(Stream utf8Json, const JsonDocumentOptions& options) | PublicStatic | 0x08 | |
| JsonDocument ParseRented(PooledByteBufferWriter utf8Json, const JsonDocumentOptions& options) | Static+1 flags | 0x08 | |
| JsonDocument ParseValue(Stream utf8Json, const JsonDocumentOptions& options) | Static+1 flags | 0x08 | |
| JsonDocument ParseValue(const ReadOnlySpan<System.Byte>& utf8Json, const JsonDocumentOptions& options) | Static+1 flags | 0x18 | |
| JsonDocument ParseValue(const string& json, const JsonDocumentOptions& options) | Static+1 flags | 0x08 | |
| Task<System.Text.Json.JsonDocument> ParseAsync(Stream utf8Json, const JsonDocumentOptions& options, const CancellationToken& cancellationToken) | PublicStatic | 0x08 | |
| Task<System.Text.Json.JsonDocument> ParseAsyncCore(Stream utf8Json, const JsonDocumentOptions& options, const CancellationToken& cancellationToken) | PrivateStatic | 0x08 | |
| JsonDocument Parse(const ReadOnlyMemory<System.Char>& json, const JsonDocumentOptions& options) | PublicStatic | 0x10 | |
| JsonDocument ParseValue(const ReadOnlyMemory<System.Char>& json, const JsonDocumentOptions& options) | Static+1 flags | 0x10 | |
| JsonDocument Parse(const string& json, const JsonDocumentOptions& options) | PublicStatic | 0x08 | |
| bool TryParseValue(ref Utf8JsonReader& reader, ref JsonDocument& document) | PublicStatic | 0xF0 | |
| JsonDocument ParseValue(ref Utf8JsonReader& reader) | PublicStatic | 0xF0 | |
| bool TryParseValue(ref Utf8JsonReader& reader, ref JsonDocument& document, bool shouldThrow, bool useArrayPools) | Static+1 flags | 0xF0 | |
| JsonDocument CreateForLiteral(const JsonTokenType& tokenType) | PrivateStatic | 0x08 | |
| JsonDocument Parse(const ReadOnlyMemory<System.Byte>& utf8Json, const JsonReaderOptions& readerOptions, const byte[]& extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter) | PrivateStatic | 0x10 | |
| JsonDocument ParseUnrented(const ReadOnlyMemory<System.Byte>& utf8Json, const JsonReaderOptions& readerOptions, const JsonTokenType& tokenType) | PrivateStatic | 0x10 | |
| ArraySegment<System.Byte> ReadToEnd(Stream stream) | PrivateStatic | 0x10 | |
| Task<System.ArraySegment<System.Byte>> ReadToEndAsync(Stream stream, const CancellationToken& cancellationToken) | PrivateStatic | 0x08 | |
| bool TryGetNamedPropertyValue(int index, const ReadOnlySpan<System.Char>& propertyName, ref JsonElement& value) | 1 flags | 0x18 | |
| bool TryGetNamedPropertyValue(int index, const ReadOnlySpan<System.Byte>& propertyName, ref JsonElement& value) | 1 flags | 0x18 | |
| bool TryGetNamedPropertyValue(int startIndex, int endIndex, const ReadOnlySpan<System.Byte>& propertyName, ref JsonElement& value) | Private | 0x18 | |
| JsonDocument <CreateForLiteral>g__Create|74_0(const byte[]& utf8Json, ref <>c__DisplayClass74_0& ) | Static+1 flags | 0x08 |