IJsonDocument

Assembly: System;

Description

The IJsonDocument interface is used to work with JSON structure.

Inheritance Hierarchy

IJsonDocument

Comments

Interface methods allow for loading and saving JSON structure from file, stream, or character string. To access JSON structure elements, use the RootElement property.

Properties

  Property name Brief description
RootElement The RootElement property returns the root element of JSON structure.

Methods

  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:

System Assembly Interfaces