Skip to content

Commit a04880d

Browse files
committed
Update README.md
1 parent 85b37d2 commit a04880d

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

README.md

+34-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
# cjsontree x86
1+
# ![](./assets/cjsontree_logo.png) cjsontree x86
22

33
Application that utilizes cJSON (https://github.com/DaveGamble/cJSON) for reading .json files and displaying the nodes in a treeview control.
44

5+
![](./assets/cjsontree_addsubmenu.png)
6+
57
Built with the following statically compiled libraries:
68

79
- json v1.7.12 x86 (https://github.com/mrfearless/libraries/tree/master/cJSON)
@@ -10,3 +12,34 @@ Built with the following statically compiled libraries:
1012
- Masm32 x86 (http://masm32.com/download.htm)
1113

1214
From a post on tuts4you.com: https://forum.tuts4you.com/topic/39996-how-to-read-json-correctly/
15+
16+
# Download
17+
18+
The latest release can be downloaded [here](https://github.com/mrfearless/cjsontree/blob/master/cjsontree.exe?raw=true), or via the [releases](https://github.com/mrfearless/cjsontree/releases) section of this Github repository.
19+
20+
# File assocation
21+
22+
To automatically associated `.json` files with cjsontree you can edit the `json_cjsontree_cmdlineopen.reg` file or create a new .reg file and adjust the paths (`X:\\path_to_cjsontree`) required to point to where your `cjsontree.exe` is located
23+
24+
```
25+
Windows Registry Editor Version 5.00
26+
27+
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.json]
28+
@="cjsontree"
29+
30+
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cjsontree]
31+
32+
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cjsontree\DefaultIcon]
33+
@=""X:\\path_to_cjsontree\\cjsontree\\cjsontree.exe",0"
34+
35+
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cjsontree\shell]
36+
37+
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cjsontree\shell\open]
38+
"Icon"=""X:\\path_to_cjsontree\\cjsontree.exe",0"
39+
@="&Open with cjsontree"
40+
41+
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cjsontree\shell\open\command]
42+
@=""X:\\path_to_cjsontree\\cjsontree\\cjsontree.exe" \"%1\" "
43+
```
44+
45+
Assigning `.json` files to cjsontree will allow you to double click on a `.json` file for it to automatically open in cjsontree.

0 commit comments

Comments
 (0)