C# Class Thrift.Protocol.TJSONProtocol.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
Show file Open project: abhinavkulkarni/topic-modeling

Public Methods

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

Method Details

EscapeNumbers() public method

public EscapeNumbers ( ) : bool
return bool

JSONPairContext() public method

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

Read() public method

public Read ( ) : void
return void

Write() public method

public Write ( ) : void
return void