Assembly: System;
Namespace: Prognoz.Platform.Interop.ForeSystem;
The JsonDocument class implements an object that is used to work with JSON structures.
To work with JSON structure, create an instance of the JsonDocument class and cast the obtained object to the IJsonDocument interface.
Class to get analog of the JsonDocument class:
None;
Class to get analog of the JsonDocument class object:
JsonDocumentClass;
| Property name | Brief description | |
| Root | The Root property returns the root element of JSON structure. |
| Method name | Brief description | |
| ReadFromFile | The ReadFromFile method loads JSON structure from the specified file. | |
| ReadFromStream | The ReadFromStream method loads JSON structure from a stream. | |
| ReadFromString | The ReadFromString method loads JSON structure from a string. | |
| WriteToFile | The WriteToFile method writes JSON structure to the specified file. | |
| WriteToStream | The WriteToStream method writes JSON structure to a stream. | |
| WriteToString | The WriteToString method returns string view of JSON structure. |
See also: