Assembly: System;
The IJsonDocument interface is used to work with JSON structure.
IJsonDocument
Interface methods allow for loading and saving JSON structure from file, stream, or character string. To access JSON structure elements, use the RootElement property.
Property name | Brief description | |
RootElement | The RootElement 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: