Provides a mechanism for examining the structural content of a JSON value without automatically instantiating data values.
public ref class JsonDocument sealed : IDisposable
public sealed class JsonDocument : IDisposable
type JsonDocument = class
interface IDisposable
Public NotInheritable Class JsonDocument
Implements IDisposable
This class utilizes resources from pooled memory to minimize the impact of the garbage collector (GC) in high-usage scenarios. Failure to properly dispose this object will result in the memory not being returned to the pool, which will increase GC impact across various parts of the framework.
For more information, see How to use the JSON DOM, Utf8JsonReader, and Utf8JsonWriter in System.Text.Json.
Properties RootElementGets the root element of this JSON document.
Methods Extension MethodsCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4