Open GoogleCodeExporter opened 9 years ago
Resolved with JSONPath 0.8.5 (see Source section).
The '@' character can now be used within member names, if it is escaped by an
backslash.
So changing your call to
jsonPath(obj, "entrydata[?(@['\\@name']=='first')].text[0]");
works now with JSONPath 0.8.5+.
Thanks.
Original comment by ste...@goessner.net
on 30 Mar 2008 at 6:39
why we need to escape such a commonly used sign?
my fix will work for(base on 0.8.5)
jsonPath(obj, "entrydata[?(@['@name']=='first')].text[0]");
Original comment by lauxp1...@gmail.com
on 1 Oct 2013 at 4:17
forget the attach patch file?
Original comment by lauxp1...@gmail.com
on 1 Oct 2013 at 4:18
Attachments:
Original issue reported on code.google.com by
bhaid...@gmail.com
on 17 Mar 2008 at 7:24