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