Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jq select

$ jq '.[] | select(.location=="Stockholm")' json
{
  "location": "Stockholm",
  "name": "Walt"
}
{
  "location": "Stockholm",
  "name": "Donald"
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jq #select
ADD COMMENT
Topic
Name
5+4 =