fixed SelectTokens for empty containers

This commit is contained in:
unknown
2014-06-24 19:52:15 +03:00
parent 56e45bbbab
commit 50a392398f
@@ -18,7 +18,7 @@ namespace Newtonsoft.Json.Linq.JsonPath
while (true)
{
if (container != null)
if (container != null && container.HasValues)
{
value = container.First;
}