Page 1 of 2

JSON Viewer Plugin

Posted: 02 Jan 2009, 23:51
by stepand76
JSON Viewer is viewer for data in JSON (JavaScript Object Notation) format.

Plugin is available here:

http://sites.google.com/site/stepand76/asplugins-enu

You can discuss the plugin in this thread.

Any comments, suggestions and feature requests are welcome.

Posted: 28 Jan 2009, 12:45
by stepand76

Code: Select all

Version 0.2.0 (28.1.2009)
-------------------------
[-] Fixed memory leak when showing of data from clipboard.
[+] Texts moved to SLG file (now it is possible to translate plugin to other languages).
[+] Added version information (VERSION_INFO) into plugin binnary files.
[+] Added plugin icon and icon of viewer window.
[-] Fixed placement of viewer window.
[-] Fixed showing of message dialogs (icon, set of buttons).

Legend
------
[*] Change
[-] Bugfix
[+] New feature, enhancement
Plugin is available here:
http://sites.google.com/site/stepand76/asplugins-enu

Posted: 04 Feb 2009, 10:07
by stepand76

Code: Select all

Version 0.3.0 (4.2.2009)
------------------------
[+] Added compatibility with AS 2.52 beta 1.

Legend 
------ 
[*] Change 
[-] Bugfix 
[+] New feature, enhancement
Plugin is available here:
http://sites.google.com/site/stepand76/asplugins-enu

Re: JSON Viewer Plugin

Posted: 24 Aug 2009, 23:32
by stepand76

Code: Select all

Version 0.4.0 (24.8.2009)
-------------------------
[*] Fixed compatibility with AS 2.5, 2.51 and 2.52 beta 2.
[-] Fixed Alt+Space navigation in viewer.

Legend
------
[*] Change
[-] Bugfix
[+] New feature, enhancement
Plugin is available here:
http://sites.google.com/site/stepand76/asplugins-enu

Re: JSON Viewer Plugin

Posted: 22 Oct 2009, 22:21
by stepand76

Code: Select all

Version 0.5.0 (23.10.2009)
--------------------------
[+] Added the "Focus" command (F) - focuses the file in the panel.
[*] JSON Toolkit 1.1.

Legend 
------ 
[*] Change 
[-] Bugfix 
[+] New feature, enhancement


Plugin is available here:
http://sites.google.com/site/stepand76/asplugins-enu

Re: JSON Viewer Plugin

Posted: 04 Mar 2010, 13:48
by stepand76

Code: Select all

Version 0.6.0 (4.3.2010)
------------------------
[*] Built with Delphi 2010.
[+] Enhanced "About" window.
[+] Added an option to save possion and size of viewer's windows.
[+] Added an option to prefer keyboard shortcuts in main menu.
[*] JSON Toolkit 1.2.

Legend 
------ 
[*] Change 
[-] Bugfix 
[+] New feature, enhancement

Re: JSON Viewer Plugin

Posted: 16 Aug 2010, 11:52
by mdruiter
I noticed that all tree entries are editable. Or at least, they look like that: just click on the active entry and type some text. Nothing is stored of course.
Should it be readonly?

Re: JSON Viewer Plugin

Posted: 23 Aug 2010, 17:08
by stepand76
mdruiter wrote:Should it be readonly?
Yes, it should be. Thanks for the info.

Re: JSON Viewer Plugin

Posted: 22 Nov 2010, 14:38
by frax
I tested it with AS 2.54, but I get "Error parsing JSON data" on all the files I try...

Re: JSON Viewer Plugin

Posted: 23 Nov 2010, 08:48
by stepand76
It works for me, please provide a one.

Re: JSON Viewer Plugin

Posted: 23 Nov 2010, 12:45
by frax
I am trying this file - for instance...
countries.json.txt
example json-file
(2.47 KiB) Downloaded 969 times

Re: JSON Viewer Plugin

Posted: 23 Nov 2010, 14:27
by Ether
It's failing to parse the data because the it's not valid JSON (although it seems it's a valid JS object literal). If you look at http://json.org/, you'll see that JSON allows only double quotes to enclose strings and keys in objects have to be strings too.

Re: JSON Viewer Plugin

Posted: 23 Nov 2010, 16:53
by frax
ok got it, thanks!

Re: JSON Viewer Plugin

Posted: 15 Feb 2019, 20:55
by SvA
Looks like the viewer does not work if the root element is not an object. My .json files have a list at it's root and only show the "JSON" tree root in the viewer.

Am I missing something?

The files have been downloaded from the codeplex archive, e.g. https://archive.codeplex.com/?p=visuallogparser.

I am using JSON Viewer Plugin Ver. 0.6.0 downloaded from this thread on AS 2.54

Re: JSON Viewer Plugin

Posted: 18 Feb 2021, 10:54
by mdruiter
Looks like the plugin does not work for Altap Salamander 4.0. I get this error when I try to add the plugin:
Unable to load plugin (<path>\plugins\jsonviewer\jsonviewer.spl) or some of its components.
Error: (1400) Invalid window handle.

See plugin details in menu Plugins / Plugins Manager.
Is there an updated version available?