Open json file from terminal
Asked by chandrashekar v about a year ago
When a program fail or output is not as expected , the details is stored in json file, how do we open and see json file from terminal.
You can make use of the
cat command if you are in a linux based operating system or on Mac OS.
If you are Windows, you cannot access the
cat command directly on the
Command prompt, but you can run this command from
For Example, let's say the file generated is
You can view the files contents by writing the command
Hope this helps, please let me know if this wasn't what you were referring to.