-Fixed potential inifinite loop when parsing unquoted value
-Added NuGet install.ps1 -Incremented version to 5.0.6
This commit is contained in:
@@ -1150,6 +1150,10 @@ namespace Newtonsoft.Json
|
||||
|
||||
SetToken(JsonToken.StartConstructor, constructorName);
|
||||
}
|
||||
else
|
||||
{
|
||||
throw JsonReaderException.Create(this, "Unexpected content while parsing JSON.");
|
||||
}
|
||||
}
|
||||
|
||||
private void ParseNumber()
|
||||
|
||||
Reference in New Issue
Block a user