Base class for tracking JSON contexts that may require inserting/Reading additional JSON syntax characters This base context does nothing.
Beispiel #1
0
 protected void PushContext(TJSONProtocol.JSONBaseContext c)
 {
     this.contextStack.Push(this.context);
     this.context = c;
 }
Beispiel #2
0
 public TJSONProtocol(TTransport trans) : base(trans)
 {
     this.context = new TJSONProtocol.JSONBaseContext(this);
     this.reader  = new TJSONProtocol.LookaheadReader(this);
 }
Beispiel #3
0
 protected void PopContext()
 {
     this.context = this.contextStack.Pop();
 }