1. Download the Windows version of the jq executable found here: https://stedolan.github.io/jq/download/
2. Copy that executable to this Zeus folder location (change the folder to match the user id):
Code: Select all
C:\Users\<your user id>\AppData\Local\Programs\Zeus (x64)\zGNU\
Use the Options, Document Types menu and edit the JScript Document Type.
In the Tools Section add the following tool:
Code: Select all
Menu Text: jq Pretty: '$fn'
Program Name: jq-win64.exe
Arguments: . "$f"
Work Directory: $fdd
(o) Executable
(o) Run hidden
(o) Display on output
[x] Capture stdout
[x] Capture stderr
[ ] Allow user input
[x] Save current document before running
[x] Add to popup menu
1. Open the following c:\temp\test.json test file:
Code: Select all
{ "folders": [ { "name": "Project: Some Application", "path": "Application" }, { "name": "Project: Other Lib", "path": "Library" } ] }
3. This will result in the following output:
Code: Select all
{
"folders": [
{
"name": "Project: Some Application",
"path": "Application"
},
{
"name": "Project: Other Lib",
"path": "Library"
}
]
}