kennknowles / python-jsonpath-rw

A robust and significantly extended implementation of JSONPath for Python, with a clear AST for metaprogramming.
Apache License 2.0
599 stars 193 forks source link

How to find NUMBER key? #57

Closed xzhacker123 closed 6 years ago

xzhacker123 commented 6 years ago

I try to do find jsontext like this: $.data.56 {"message": "success", "code": 0, "data": {"56": "a", "54": "b", "42": "c"} }

Exception: Parse error at 1:7 near token 56 (NUMBER)

xzhacker123 commented 6 years ago

$.data."56" works fine.