Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the JsonReader class.
 /// </summary>
 protected JsonReader()
 {
     this.JsonObjectState = new JsonObjectState(readMode: true);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the JsonWriter class.
 /// </summary>
 protected JsonWriter()
 {
     this.JsonObjectState = new JsonObjectState(false);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the JsonWriter class.
 /// </summary>
 /// <param name="skipValidation">Whether or not to skip validation.</param>
 protected JsonWriter(bool skipValidation)
 {
     this.JsonObjectState = new JsonObjectState(false);
     this.SkipValidation  = skipValidation;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the JsonReader class.
 /// </summary>
 /// <param name="skipValidation">Whether or not to skip validation.</param>
 protected JsonReader(bool skipValidation)
 {
     this.JsonObjectState = new JsonObjectState(true);
     this.SkipValidation  = skipValidation;
 }