|
|
@@ -208,7 +208,7 @@ namespace Topten.JsonKit
|
|
|
catch (Exception x)
|
|
|
{
|
|
|
var loc = reader == null ? new LineOffset() : reader.CurrentTokenPosition;
|
|
|
- Console.WriteLine("Exception thrown while parsing JSON at {0}, context:{1}\n{2}", loc, reader?.Context, x.ToString());
|
|
|
+ //Console.WriteLine("Exception thrown while parsing JSON at {0}, context:{1}\n{2}", loc, reader?.Context, x.ToString());
|
|
|
throw new JsonParseException(x, reader?.Context, loc);
|
|
|
}
|
|
|
}
|
|
|
@@ -248,7 +248,7 @@ namespace Topten.JsonKit
|
|
|
catch (Exception x)
|
|
|
{
|
|
|
var loc = reader == null ? new LineOffset() : reader.CurrentTokenPosition;
|
|
|
- Console.WriteLine("Exception thrown while parsing JSON at {0}, context:{1}\n{2}", loc, reader.Context, x.ToString());
|
|
|
+ //Console.WriteLine("Exception thrown while parsing JSON at {0}, context:{1}\n{2}", loc, reader.Context, x.ToString());
|
|
|
throw new JsonParseException(x,reader.Context,loc);
|
|
|
}
|
|
|
}
|