cesarmarinhorj / jsonpath

Automatically exported from code.google.com/p/jsonpath
0 stars 0 forks source link

Escape any character in property names #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
For Issue 7, the code looks explicitly for \\@  as an escaped element in the 
field name. This is a great feature that should be expanded to include other 
characters that need to be escaped, like dash ('-'). It is common to have 
dashes in field names:

{
  "first-name" : "Matt",
  "last-name" : "Bishop"
}

Original issue reported on code.google.com by m...@thebishops.org on 13 Dec 2011 at 9:17

GoogleCodeExporter commented 8 years ago
False alarm, there's actually a bug in the JSONPATH main page regarding 
filters. I will file a separate bug for that.

This issue can be closed.

Original comment by m...@thebishops.org on 13 Dec 2011 at 9:44