using System.Collections.Generic; namespace Newtonsoft.Json.Linq.JsonPath { internal class RootFilter : PathFilter { public static readonly RootFilter Instance = new RootFilter(); private RootFilter() { } public override IEnumerable ExecuteFilter(JToken root, IEnumerable current, JsonSelectSettings? settings) { return new[] { root }; } } }