C# 클래스 ManagedFusion.Serialization.JsonSerializer

상속: ISerializer
파일 보기 프로젝트 열기: managedfusion/managedfusion

Private Properties

프로퍼티 타입 설명
BuildArray void
BuildDate void
BuildObject void
BuildPair void
BuildString void
BuildValue void
JsonSerializer System
OutputTabs void

공개 메소드들

메소드 설명
Serialize ( ICollection serialization ) : string

Serializes to JSON

Serialize ( object>.IDictionary serialization ) : string

Serializes to JSON

Serialize ( ICollection serialization, TextWriter writer ) : void

Serializes to JSON using stream.

Serialize ( object>.IDictionary serialization, TextWriter writer ) : void

Serializes to JSON using stream.

비공개 메소드들

메소드 설명
BuildArray ( TextWriter builder, IEnumerable array ) : void

Builds the JSON array.

BuildDate ( TextWriter builder, System.DateTime datetime ) : void

Builds the JSON DateTime.

BuildObject ( TextWriter builder, object>.IDictionary serialization ) : void

Builds the JSON object.

BuildPair ( TextWriter builder, string name, object value ) : void

Builds the name/value pair.

BuildString ( TextWriter builder, string s ) : void

Escapes the string.

BuildValue ( TextWriter builder, object value ) : void

Builds the JSON value.

JsonSerializer ( ) : System
OutputTabs ( TextWriter builder ) : void

메소드 상세

Serialize() 공개 메소드

Serializes to JSON
public Serialize ( ICollection serialization ) : string
serialization ICollection The object to serialize.
리턴 string

Serialize() 공개 메소드

Serializes to JSON
public Serialize ( object>.IDictionary serialization ) : string
serialization object>.IDictionary The object to serialize.
리턴 string

Serialize() 공개 메소드

Serializes to JSON using stream.
public Serialize ( ICollection serialization, TextWriter writer ) : void
serialization ICollection The object to serialize.
writer System.IO.TextWriter
리턴 void

Serialize() 공개 메소드

Serializes to JSON using stream.
public Serialize ( object>.IDictionary serialization, TextWriter writer ) : void
serialization object>.IDictionary The object to serialize.
writer System.IO.TextWriter
리턴 void