In one of my projects exist json file

```json
{
  "name": "view1",
  "version": "1.1.1",
  "target-dir": "/opt/project/spark-jobs/",
  "target-hosts": {
    "dev": ["host1", "host2"],
    "prod": ["host3", "host4"]
  }
}

```

I have to read element of json "target-hosts",
for solve try to use JQ, but if try run command

```
jq '.target-hosts' deploy.json  
jq: error: dir/0 is not defined at <top-level>, line 1:
.target-hosts        
jq: 1 compile error

```

How escape character "-"?