private IList <JToken> GetNodes(JEnumerable <JToken> jTokenCollection, Func <JToken, bool> predicate) { return(jTokenCollection.SelectMany(node => GetNodes(node, predicate)).ToList()); }