@@ -0,0 +1,1727 @@
+package com.alibaba.json.bvt.path;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONArray;%0Aimport com.alibaba.fastjson.JSONObject;%0Aimport com.alibaba.fastjson.JSONPath;%0Aimport junit.framework.TestCase;%0A%0Aimport java.util.List;%0Aimport java.util.Map;%0Aimport java.util.UUID;%0Aimport java.util.concurrent.TimeUnit;%0A%0Apublic class JSONPath_15%0A        extends TestCase %7B%0A    final static String a = %22%7Bcode:1,msg:'Hello world',data:%7Blist:%5B1,2,3,4,5%5D, ary2:%5B%7Ba:2%7D,%7Ba:3,b:%7Bc:'ddd'%7D%7D%5D%7D%7D%22;%0A    final static String b = %22%5B%7Bb:%7Bc:1%7D%7D, %7Bb:%7Bd:1%7D%7D, %7Bb:%7Bc:2%7D%7D, %7Bb:%7Bc:23%7D%7D%5D%22;%0A    final static String c = %22%5B%7Bc:'aaaa'%7D, %7Bb:'cccc'%7D, %7Bc:'cccaa'%7D%5D%22;%0A%0A    public void test_0() %7B%0A%0A        JSONObject object = JSON.parseObject(a);%0A%0A        List%3CObject%3E items = (List%3CObject%3E) JSONPath.eval(object, %22data.ary2%5B*%5D.b.c%22);%0A        assertEquals(%22%5B%5C%22ddd%5C%22%5D%22, JSON.toJSONString(items));%0A    %7D%0A%0A    public void test_1() %7B%0A        Object object = JSON.parse(b);%0A%0A        List%3CObject%3E items = (List%3CObject%3E) JSONPath.eval(object, %22$..b%5B?(@.c == 23)%5D%22);%0A        assertEquals(%22%5B%7B%5C%22c%5C%22:23%7D%5D%22, JSON.toJSONString(items));%0A    %7D%0A%0A    public void test_2() %7B%0A        Object object = JSON.parse(b);%0A%0A        Object min = JSONPath.eval(object, %22$..c.min()%22);%0A        assertEquals(%221%22, JSON.toJSONString(min));%0A    %7D%0A%0A    public void test_3() %7B%0A        Object object = JSON.parse(c);%0A%0A        Object min = JSONPath.eval(object, %22$%5B?(@.c =~ /a+/)%5D%22);%0A        assertEquals(%22%5B%7B%5C%22c%5C%22:%5C%22aaaa%5C%22%7D%5D%22, JSON.toJSONString(min));%0A    %7D%0A//%0A//    public void test_c() %7B%0A//        Object object = JSON.parse(c);%0A//%0A//        Object min = JSONPath.eval(object, %22data.list%5B?(@ in $..ary2%5B0%5D.a)%5D%22);%0A//        assertEquals(%22%5B%7B%5C%22c%5C%22:%5C%22aaaa%5C%22%7D%5D%22, JSON.toJSONString(min));%0A//    %7D%0A%7D%0A

add testcase