Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.IO.JSON.JSONReader Class Reference

The JSON reader that is able to read data from a JSON formatted string. More...

Public Member Functions

 JSONReader (string json)
 Creates a new JSONReader instance. More...
 
JSONToken ReadNext ()
 Reads the next JSON Token and returns it. More...
 

Public Attributes

JSONToken CurrentType => currentType
 Returns the current token type. Or null if none is available. More...
 

Properties

double DecimalValue [get]
 Returns the 64-bit floating point value. More...
 
long IntegerValue [get]
 Returns the 64-bit integer value. More...
 
string StringValue [get]
 Returns the UTF-8 encoded string value or field-name. More...
 

Detailed Description

The JSON reader that is able to read data from a JSON formatted string.

Implemented in Version 6.0.

Constructor & Destructor Documentation

PushTechnology.ClientInterface.IO.JSON.JSONReader.JSONReader ( string  json)

Creates a new JSONReader instance.

Parameters
jsonThe JSON formatted string.

Member Function Documentation

JSONToken PushTechnology.ClientInterface.IO.JSON.JSONReader.ReadNext ( )

Reads the next JSON Token and returns it.

Returns
The next JSON token.

Member Data Documentation

JSONToken PushTechnology.ClientInterface.IO.JSON.JSONReader.CurrentType => currentType

Returns the current token type. Or null if none is available.

Property Documentation

double PushTechnology.ClientInterface.IO.JSON.JSONReader.DecimalValue
get

Returns the 64-bit floating point value.

long PushTechnology.ClientInterface.IO.JSON.JSONReader.IntegerValue
get

Returns the 64-bit integer value.

string PushTechnology.ClientInterface.IO.JSON.JSONReader.StringValue
get

Returns the UTF-8 encoded string value or field-name.


The documentation for this class was generated from the following file: