I'm trying to check the actual data type of a JSON value belonging to a specific key.
test.json
{
"id": 50,
"name": "Joe"
}
I want something analogous to this:
$ `jq 'typeof("id")' < test.json`
(output)>> string
Is this possible using jq?