Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to get an object based on a substring jq

jq '.[] | select(contains({"fieldName":"subString"}))
 
PREVIOUS NEXT
Tagged: #object #based #substring #jq
ADD COMMENT
Topic
Name
2+1 =