C# Class LitJson.JsonWriter

Mostrar archivo Open project: TerrariaPrismTeam/Prism Class Usage Examples

Public Methods

Method Description
JsonWriter ( StringBuilder sb ) : System
JsonWriter ( TextWriter writer ) : System
Reset ( ) : void
ToString ( ) : string
Write ( bool boolean ) : void
Write ( decimal number ) : void
Write ( double number ) : void
Write ( int number ) : void
Write ( long number ) : void
Write ( string str ) : void
Write ( ulong number ) : void
WriteArrayEnd ( ) : void
WriteArrayStart ( ) : void
WriteObjectEnd ( ) : void
WriteObjectStart ( ) : void
WritePropertyName ( string property_name ) : void

Private Methods

Method Description
DoValidation ( System.Condition cond ) : void
Indent ( ) : void
Init ( ) : void
IntToHex ( int n, char hex ) : void
JsonWriter ( ) : System
Put ( string str ) : void
PutNewline ( ) : void
PutNewline ( bool add_comma ) : void
PutString ( string str ) : void
Unindent ( ) : void

Method Details

JsonWriter() public method

public JsonWriter ( StringBuilder sb ) : System
sb StringBuilder
return System

JsonWriter() public method

public JsonWriter ( TextWriter writer ) : System
writer System.IO.TextWriter
return System

Reset() public method

public Reset ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Write() public method

public Write ( bool boolean ) : void
boolean bool
return void

Write() public method

public Write ( decimal number ) : void
number decimal
return void

Write() public method

public Write ( double number ) : void
number double
return void

Write() public method

public Write ( int number ) : void
number int
return void

Write() public method

public Write ( long number ) : void
number long
return void

Write() public method

public Write ( string str ) : void
str string
return void

Write() public method

public Write ( ulong number ) : void
number ulong
return void

WriteArrayEnd() public method

public WriteArrayEnd ( ) : void
return void

WriteArrayStart() public method

public WriteArrayStart ( ) : void
return void

WriteObjectEnd() public method

public WriteObjectEnd ( ) : void
return void

WriteObjectStart() public method

public WriteObjectStart ( ) : void
return void

WritePropertyName() public method

public WritePropertyName ( string property_name ) : void
property_name string
return void