Merge pull request #316 from vybber/master
fixed SelectTokens for empty containers
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Newtonsoft.Json.Linq.JsonPath
|
|||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
if (container != null)
|
if (container != null && container.HasValues)
|
||||||
{
|
{
|
||||||
value = container.First;
|
value = container.First;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user