Merge pull request #316 from vybber/master

fixed SelectTokens for empty containers
This commit is contained in:
James Newton-King
2014-06-25 18:24:44 +12:00
@@ -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;
} }