DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
how to select an object based a field which is like a string jq
jq '.[] | select(contains({"fieldName":"subString"}))
PREVIOUS
NEXT
Tagged:
#select
#object
#based
#field
#string
#jq
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit