Exemple #1
0
		public static JsonValue Load (TextReader textReader)
		{
			if (textReader == null)
				throw new ArgumentNullException ("textReader");

			var ret = new JavaScriptReader (textReader, true).Read ();

			return ToJsonValue (ret);
		}
Exemple #2
0
 public JavaScriptObjectDeserializer(string json, bool raiseNumberParseError)
 {
     this.reader = new JavaScriptReader(new StringReader(json), raiseNumberParseError);
 }
 public JavaScriptObjectDeserializer(string json, bool raiseNumberParseError)
 {
     reader = new JavaScriptReader (new StringReader (json), raiseNumberParseError);
 }