Filter JSON in jq with one of many values

e.g. match when state is “austin”, “houston”, or “dallas”.

head state_data.json | jq -n '["houston", "austin", "dallas"] as $whitelist
  | ($whitelist | map( {(.): true} ) | add) as $dictionary
  | inputs
  | select($dictionary[.state])'