C# Class Flood.Serialization.JSONSerializer.JSONPairContext

Context for JSON records. Will insert/Read colons before the value portion of each record pair, and commas before each key except the first. In addition, will indicate that numbers in the key position need to be escaped in quotes (since JSON keys must be strings).
Inheritance: JSONBaseContext
Mostra file Open project: FloodProject/flood

Public Methods

Method Description
EscapeNumbers ( ) : bool
JSONPairContext ( JSONSerializer proto ) : System
Read ( ) : void
Write ( ) : void

Method Details

EscapeNumbers() public method

public EscapeNumbers ( ) : bool
return bool

JSONPairContext() public method

public JSONPairContext ( JSONSerializer proto ) : System
proto JSONSerializer
return System

Read() public method

public Read ( ) : void
return void

Write() public method

public Write ( ) : void
return void