C# 클래스 numl.Serialization.JsonWriter

JSON Writer object.
상속: IDisposable
파일 보기 프로젝트 열기: sethjuarez/numl 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes the current JSON writer object.

JsonWriter ( TextWriter writer ) : System

Creates a new JsonWriter from the underlying stream.

Write ( object value ) : void

Writes a raw simple object to the underlying stream.

WriteArray ( IEnumerable c ) : void

Writes an array to the underlying stream.

WriteArrayProperty ( string name, IEnumerable val ) : void

Writes an array property to the underlying stream.

WriteBeginArray ( ) : void

Writes the opening array tag to the underlying stream.

WriteBool ( bool value ) : void

Writes a boolean value to the underlying stream.

WriteEndArray ( ) : void

Writes the closing array tag to the underlying stream.

WriteEndObject ( ) : void

Writes an object closing to the underlying stream.

WriteFirstArrayProperty ( string name, IEnumerable val ) : void

Writes the first array property to the underlying stream.

WriteMatrix ( Matrix matrix ) : void

Writes a Matrix object to the underlying stream.

WriteNull ( ) : void

Writes a null value tag to the underlying stream.

WriteObject ( object o ) : void

Writes a raw complex object to the underlying stream.

WriteProperty ( string name, object val ) : void

Writes a non-first property to the underlying stream.

WriteStartObject ( ) : void

Writes an object opening tag to the underlying stream.

WriteString ( string value ) : void

Writes a string value to the underlying stream.

WriteVector ( Vector v ) : void

Writes a Vector object to the underlying stream.

비공개 메소드들

메소드 설명
WriteFirstProperty ( string name, object val ) : void

Writes the first property to the underlying stream.

WriteSimpleType ( object value ) : void

Writes a simple type to the underlying stream (see TypeHelpers.IsSimpleType(Type, Type[]))

WriteToken ( int token ) : void
determineWriteAction ( object value, Type type ) : System.Action

메소드 상세

Dispose() 공개 메소드

Disposes the current JSON writer object.
public Dispose ( ) : void
리턴 void

JsonWriter() 공개 메소드

Creates a new JsonWriter from the underlying stream.
public JsonWriter ( TextWriter writer ) : System
writer System.IO.TextWriter
리턴 System

Write() 공개 메소드

Writes a raw simple object to the underlying stream.
public Write ( object value ) : void
value object
리턴 void

WriteArray() 공개 메소드

Writes an array to the underlying stream.
public WriteArray ( IEnumerable c ) : void
c IEnumerable
리턴 void

WriteArrayProperty() 공개 메소드

Writes an array property to the underlying stream.
public WriteArrayProperty ( string name, IEnumerable val ) : void
name string Property name to use when writing.
val IEnumerable Value to write.
리턴 void

WriteBeginArray() 공개 메소드

Writes the opening array tag to the underlying stream.
public WriteBeginArray ( ) : void
리턴 void

WriteBool() 공개 메소드

Writes a boolean value to the underlying stream.
public WriteBool ( bool value ) : void
value bool
리턴 void

WriteEndArray() 공개 메소드

Writes the closing array tag to the underlying stream.
public WriteEndArray ( ) : void
리턴 void

WriteEndObject() 공개 메소드

Writes an object closing to the underlying stream.
public WriteEndObject ( ) : void
리턴 void

WriteFirstArrayProperty() 공개 메소드

Writes the first array property to the underlying stream.
public WriteFirstArrayProperty ( string name, IEnumerable val ) : void
name string Property name to use when writing.
val IEnumerable Value to write.
리턴 void

WriteMatrix() 공개 메소드

Writes a Matrix object to the underlying stream.
public WriteMatrix ( Matrix matrix ) : void
matrix Matrix
리턴 void

WriteNull() 공개 메소드

Writes a null value tag to the underlying stream.
public WriteNull ( ) : void
리턴 void

WriteObject() 공개 메소드

Writes a raw complex object to the underlying stream.
public WriteObject ( object o ) : void
o object
리턴 void

WriteProperty() 공개 메소드

Writes a non-first property to the underlying stream.
public WriteProperty ( string name, object val ) : void
name string Property name to use when writing.
val object Value to write.
리턴 void

WriteStartObject() 공개 메소드

Writes an object opening tag to the underlying stream.
public WriteStartObject ( ) : void
리턴 void

WriteString() 공개 메소드

Writes a string value to the underlying stream.
public WriteString ( string value ) : void
value string
리턴 void

WriteVector() 공개 메소드

Writes a Vector object to the underlying stream.
public WriteVector ( Vector v ) : void
v numl.Math.LinearAlgebra.Vector
리턴 void