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
It's handy to have unnamed strings in array containers, such as network.lan.ports[] in /etc/board.json.
network.lan.ports[]
/etc/board.json
Please add a convenience function to support this, such as:
json_add_anon_string() { local cur _json_get_var cur JSON_CUR _json_add_generic string "" "$1" "$cur" }
Not sure if it's worth adding a check to see if the cursor is currently in an array or not.
The text was updated successfully, but these errors were encountered:
Hmm. Also a method for converting a JSON_CUR value into a path would be handy.
JSON_CUR
Sorry, something went wrong.
Partially addressed in PR #6
No branches or pull requests
It's handy to have unnamed strings in array containers, such as
network.lan.ports[]
in/etc/board.json
.Please add a convenience function to support this, such as:
Not sure if it's worth adding a check to see if the cursor is currently in an array or not.
The text was updated successfully, but these errors were encountered: