When a key contains characters that are invalid for identifiers, you’ll have to quote the name.
."OPEN.BTC"
Or for older versions of jq, use an index.
.["OPEN.BTC"]
Example
... | jq '."OPEN.BTC"'
More Related Contents:
- jq: print key and value for each entry in an object
- How to get key names from JSON using jq
- Passing bash variable to jq
- How to convert arbitrary simple JSON to CSV using jq?
- How to merge 2 JSON objects from 2 files using jq?
- Select objects based on value of variable in object using jq
- jq not working on tag name with dashes and numbers
- Iterating through JSON array in Shell script
- passing arguments to jq filter
- Modify a key-value in a json using jq in-place
- how to parse a JSON String with jq (or other alternatives)?
- How to convert a JSON object to key=value format in jq?
- Using jq how can I split a very large JSON file into multiple files, each a specific quantity of objects?
- jq: Object cannot be csv-formatted, only array
- How to format a JSON string as a table using jq?
- Get outputs from jq on a single line
- How do I update a single value in a json document using jq?
- Exporting JSON to environment variables
- How to convert a JSON object stream into an array with jq
- Convert a JSON array to a bash array of strings
- How to filter array of objects by element property values using jq?
- Escape field name in jq that contains ‘@’ and ‘-‘? [duplicate]
- Reusable function to group_by but return an object with group as key
- Split a JSON file into separate files
- Create JSON using jq from pipe-separated keys and values in bash
- Constructing a JSON object from a bash associative array
- Setting Access-Control-Allow-Origin in ASP.Net MVC – simplest possible method
- Best way to save data in Unity game [closed]
- jQuery AJAX request failing in IE
- Can a JSON value contain a multiline string