Null
Description
Usage
Example
$ echo '[1]' | dasel -p json -n '.[1]'
null$ echo '[1]' | dasel -p json '.[1]'
Error: could not query node: could not find value: no value found for selector: .[1]: [1]Last updated
This flag tells dasel to output null instead of ValueNotFound errors.
Pass the -n, --null flag to select commands.
With the flag:
$ echo '[1]' | dasel -p json -n '.[1]'
nullWithout the flag:
$ echo '[1]' | dasel -p json '.[1]'
Error: could not query node: could not find value: no value found for selector: .[1]: [1]Last updated