예제 #1
0
        public static IEnumerable <JsonElement> SelectTokens(this JsonElement document, string path, bool errorWhenNoMatch = false)
        {
            JPath p = new JPath(path);

            return(p.Evaluate(document, document, errorWhenNoMatch));
        }