What steps will reproduce the problem?
1. Start with a json document that contains a "#" in the attribute name
[
{ "store": [
{ "@": { "uuid": "0" }},
{ "#text" : "How Now Brown Cow" }
]
2. Try to select that node
$[?(@.store)].*[?(@.#text)]
$[?(@.store)].*[?(@.#text)].#text
What is the expected output?
[{"#text":"How Now Brown Cow"}]
["How Now Brown Cow"]
What do you see instead?
Invalid field name! Use bracket notation if your filed names does not match
pattern: ([a-zA-Z@][a-zA-Z0-9@\$_\-]*)$
What version of the product are you using?
0.9.2-SNAPSHOT
On what operating system?
Windows 7
Please provide any additional information below.
The "#text" is a valid member name for the json object, so the must be a way to
select it (?escape notation?)
Original issue reported on code.google.com by jeffery.scott.weber@gmail.com on 19 Sep 2014 at 5:14
Original issue reported on code.google.com by
jeffery.scott.weber@gmail.com
on 19 Sep 2014 at 5:14