We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Want to persist single quote.
Command The command you ran:
yq n 'boolValue' --tag '!!str' false
Actual behavior
boolValue: "false"
Expected behavior
boolValue: 'false'
Additional context https://mikefarah.gitbook.io/yq/usage/value-parsing#using-the-tag-field-to-override
Casting booleans yq new --tag '!!str' key true results in key: 'true'
as mentioned it is not working.
The text was updated successfully, but these errors were encountered:
Thanks @avinashGuptaIos, that's a good find, I'll update the docs.
As quote styles seems to a common request, I'm also going to add a 'style' flag that maps roughly to https://godoc.org/gopkg.in/yaml.v3#Style
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Want to persist single quote.
Command
The command you ran:
Actual behavior
Expected behavior
Additional context
https://mikefarah.gitbook.io/yq/usage/value-parsing#using-the-tag-field-to-override
Casting booleans
yq new --tag '!!str' key true
results in
key: 'true'
as mentioned it is not working.
The text was updated successfully, but these errors were encountered: