carryzheng/jsonpath

filter can't contain @ or .

Opened this issue · 0 comments

What steps will reproduce the problem?
1. open jp.html
2. check output of 
            out += jsonPath(apps, "$.organizations[?(@.name=='tx@gmail.com')]..apps").toJSONString() + "\n";
3. false does not make sense.

What is the expected output? What do you see instead?
expect -                 [{
                "name":"bars",
                "apps":[{ "name":"bara",
                          "version":"1"
                }]
              }]

What version of the product are you using? On what operating system?
jsonpath 0.8

Please provide any additional information below.


Original issue reported on code.google.com by hailiang...@gmail.com on 9 Apr 2014 at 3:26