IJsonElement

Assembly: System;

Description

The IJsonElement interface contains basic properties and methods that are used to work with single JSON structure elements.

Inheritance Hierarchy

IJsonElement

Comments

The interface is base for the following interfaces:

Properties

  Property name Brief description
AsArray The AsArray property returns the element as an array.
AsBoolean The AsBoolean property returns the element as a logical value.
AsDouble The AsDouble property returns the element as a real value.
AsInteger The AsInteger property returns the element as an integer value.
AsObject The AsObject property returns the element as an object.
AsString The AsString property returns the element as a string value.
GetType The GetType property returns the element type.

Methods

  Method name Brief description
Query The Query method returns the array of elements obtained by executing a JSONPath query.
WriteToStream The WriteToStream method writes the current element to stream.
WriteToString The WriteToString method returns the element string view.

See also:

System Assembly Interfaces