C# Class numl.Serialization.JsonReader

Inheritance: IDisposable
Show file Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
IsNull ( ) : bool
JsonReader ( TextReader reader ) : System
Read ( ) : object

Reads from the current JSON serialized stream.

ReadArrayProperty ( ) : JsonArray

Reads an array property from the JSON serialized stream.

ReadMatrix ( ) : Matrix

Reads a Matrix from the underlying Json stream.

ReadMatrixProperty ( ) : JsonProperty

Reads the matrix property.

ReadProperty ( ) : JsonProperty

Reads a property from the JSON serialized stream.

ReadVector ( ) : Vector

Reads a Vector from the underlying Json stream.

ReadVectorProperty ( ) : JsonProperty

Reads the vector property from the underlying Json stream..

Private Methods

Method Description
EatWhitespace ( ) : void
PeekChar ( ) : int
PeekToken ( int token ) : void
ReadArray ( ) : object[]
ReadChar ( ) : int
ReadEndObject ( ) : void
ReadLiteral ( ) : object
ReadNumber ( ) : double
ReadObject ( ) : object
ReadStartObject ( ) : void
ReadString ( ) : string
ReadToken ( int token ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

IsNull() public method

public IsNull ( ) : bool
return bool

JsonReader() public method

public JsonReader ( TextReader reader ) : System
reader TextReader
return System

Read() public method

Reads from the current JSON serialized stream.
public Read ( ) : object
return object

ReadArrayProperty() public method

Reads an array property from the JSON serialized stream.
public ReadArrayProperty ( ) : JsonArray
return JsonArray

ReadMatrix() public method

Reads a Matrix from the underlying Json stream.
public ReadMatrix ( ) : Matrix
return Matrix

ReadMatrixProperty() public method

Reads the matrix property.
public ReadMatrixProperty ( ) : JsonProperty
return JsonProperty

ReadProperty() public method

Reads a property from the JSON serialized stream.
public ReadProperty ( ) : JsonProperty
return JsonProperty

ReadVector() public method

Reads a Vector from the underlying Json stream.
public ReadVector ( ) : Vector
return numl.Math.LinearAlgebra.Vector

ReadVectorProperty() public method

Reads the vector property from the underlying Json stream..
public ReadVectorProperty ( ) : JsonProperty
return JsonProperty