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