Check_Point
156-521 · Question #162
Which command would you use to pretty-print the JSON output for easier manual reading?
The correct answer is C. jq '.'. Running jq '.' without any filters simply pretty-prints the raw JSON in an indented format. This helps when reviewing API output manually or during script development.
Check Point API Fundamentals
Question
Which command would you use to pretty-print the JSON output for easier manual reading?
Options
- Ajq -f output.txt
- Bmgmt_cli --json
- Cjq '.'
- Djson-beautifier .
How the community answered
(40 responses)- B3% (1)
- C93% (37)
- D5% (2)
Explanation
Running jq '.' without any filters simply pretty-prints the raw JSON in an indented format. This helps when reviewing API output manually or during script development.
Topics
#jq#pretty-print#JSON formatting
Community Discussion
No community discussion yet for this question.