-
I'm not even sure exactly what Specifically, I'm trying to query a key with a string value. I would like to get the raw value (like Workaround is to use Thanks for writing one *q to rule them all! Much needed! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
JSON with pretty print (default):
JSON with pretty print off:
Usage is If you want to get a plain value without any encoding, you can use |
Beta Was this translation helpful? Give feedback.
-
Thanks for the detailed answer @TomWright. I was going from the |
Beta Was this translation helpful? Give feedback.
--pretty
allows you to turn on/off pretty printing.JSON with pretty print (default):
JSON with pretty print off:
Usage is
--pretty=true/false
and is documented here: https://daseldocs.tomwright.me/commands/select#flags-argsIf you want to get a plain value without any encoding, you can use
-w -
to use the "plain" formatter, which under the hood is just go'sfmt.Sprint
. E.g. https://dasel.tomwright.me/s/0a257c1a-396e-4e75-820f-f61211695024