forked from kennknowles/python-jsonpath-rw
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enclose field names containing literals in quotes
When creating the text representation of a path, field names that contain lexer literals (like a period ".') should be enclosed in quotes (or brackets). The proposed fix only adds quotes if needed (as opposed to always). This avoids changing current paths/behavior drastically since it seems no one has run into this so far.
- Loading branch information
1 parent
59e6b72
commit 4c1effd
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters