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