Answers for "jq starts with"

0

jq starts with

#Example json
json='[{"t":"12345"}, {"t":999}]'

#jq using starts with
echo $json | jq -r '.[] | select(.t | startswith("123"))'
Posted by: Guest on April-28-2022

Code answers related to "TypeScript"

Browse Popular Code Answers by Language