Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow reserved characters for key name in YAMLPath #251

Merged
merged 1 commit into from Sep 2, 2021

Conversation

goccy
Copy link
Owner

@goccy goccy commented Sep 2, 2021

resolve #240

If you want to use reserved characters such as . and * as a key name,
enclose them in single quotation as follows ( $.foo.'bar.baz-*'.hoge ).
If you want to use a single quote with reserved characters, escape it with \ ( $.foo.'bar.baz's value'.hoge ).

@codecov-commenter
Copy link

Codecov Report

Merging #251 (cc2a6aa) into master (ae5437d) will increase coverage by 0.14%.
The diff coverage is 66.12%.

@@            Coverage Diff             @@
##           master     #251      +/-   ##
==========================================
+ Coverage   75.70%   75.85%   +0.14%     
==========================================
  Files          12       12              
  Lines        4051     4088      +37     
==========================================
+ Hits         3067     3101      +34     
- Misses        751      755       +4     
+ Partials      233      232       -1     

@goccy goccy merged commit cb71dc9 into master Sep 2, 2021
@goccy goccy deleted the feature/support-quoted-key branch September 2, 2021 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to interact with a field where its name containing a dot character
2 participants