Quickly verify the parsed type of a JSON value.
Section: Number gotchas
Inspect a value type with jq
bash
bash
jq 'type' <<< '123'Explanation
Helpful when checking how a parser sees a value after serialization.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Number gotchas