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]'
vs. without the [TODO: Code shorthand span ] :
echo '["alfa"]' | jq '.[0]'h
Use the [TODO: Code shorthand span ] flag to remove double quotes from output strings :
echo '["alfa"]' | jq -r '.[0]'
vs. without the [TODO: Code shorthand span ] :
echo '["alfa"]' | jq '.[0]'h