Remove Double Quotes From Strings In jq Output
Use the [TODO: Code shorthand span ] flag to remove double quotes from output strings:
echo '["alfa"]' | jq -r '.[0]'
TODO: Show Results Output
vs. without the [TODO: Code shorthand span ]:
echo '["alfa"]' | jq '.[0]'h
TODO: Show Results Output
~ fin ~