JSON Viewer Plugin

Support for developers of new plugins, third-party plugin announcements and discussions.
User avatar
stepand76
Plugin Developer
Plugin Developer
Posts: 453
Joined: 16 Apr 2007, 21:22
Location: Pardubice, Czech Republic

JSON Viewer Plugin

Post by stepand76 » 02 Jan 2009, 23:51

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.

User avatar
stepand76
Plugin Developer
Plugin Developer
Posts: 453
Joined: 16 Apr 2007, 21:22
Location: Pardubice, Czech Republic

Post by stepand76 » 28 Jan 2009, 12:45

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
Last edited by stepand76 on 04 Feb 2009, 10:09, edited 1 time in total.

User avatar
stepand76
Plugin Developer
Plugin Developer
Posts: 453
Joined: 16 Apr 2007, 21:22
Location: Pardubice, Czech Republic

Post by stepand76 » 04 Feb 2009, 10:07

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

User avatar
stepand76
Plugin Developer
Plugin Developer
Posts: 453
Joined: 16 Apr 2007, 21:22
Location: Pardubice, Czech Republic

Re: JSON Viewer Plugin

Post by stepand76 » 24 Aug 2009, 23:32

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

User avatar
stepand76
Plugin Developer
Plugin Developer
Posts: 453
Joined: 16 Apr 2007, 21:22
Location: Pardubice, Czech Republic

Re: JSON Viewer Plugin

Post by stepand76 » 22 Oct 2009, 22:21

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

User avatar
stepand76
Plugin Developer
Plugin Developer
Posts: 453
Joined: 16 Apr 2007, 21:22
Location: Pardubice, Czech Republic

Re: JSON Viewer Plugin

Post by stepand76 » 04 Mar 2010, 13:48

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
Attachments
jsonviewer_0.6.0.zip
(722.26 KiB) Downloaded 560 times

User avatar
mdruiter
Posts: 258
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: JSON Viewer Plugin

Post by mdruiter » 16 Aug 2010, 11:52

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?

User avatar
stepand76
Plugin Developer
Plugin Developer
Posts: 453
Joined: 16 Apr 2007, 21:22
Location: Pardubice, Czech Republic

Re: JSON Viewer Plugin

Post by stepand76 » 23 Aug 2010, 17:08

mdruiter wrote:Should it be readonly?
Yes, it should be. Thanks for the info.

User avatar
frax
Posts: 58
Joined: 23 Apr 2007, 07:24
Location: Stockholm, Sweden
Contact:

Re: JSON Viewer Plugin

Post by frax » 22 Nov 2010, 14:38

I tested it with AS 2.54, but I get "Error parsing JSON data" on all the files I try...
--
Hugo Ahlenius

User avatar
stepand76
Plugin Developer
Plugin Developer
Posts: 453
Joined: 16 Apr 2007, 21:22
Location: Pardubice, Czech Republic

Re: JSON Viewer Plugin

Post by stepand76 » 23 Nov 2010, 08:48

It works for me, please provide a one.

User avatar
frax
Posts: 58
Joined: 23 Apr 2007, 07:24
Location: Stockholm, Sweden
Contact:

Re: JSON Viewer Plugin

Post by frax » 23 Nov 2010, 12:45

I am trying this file - for instance...
countries.json.txt
example json-file
(2.47 KiB) Downloaded 435 times
--
Hugo Ahlenius

User avatar
Ether
Posts: 1459
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Re: JSON Viewer Plugin

Post by Ether » 23 Nov 2010, 14:27

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.
Ελληνικά rulez.

User avatar
frax
Posts: 58
Joined: 23 Apr 2007, 07:24
Location: Stockholm, Sweden
Contact:

Re: JSON Viewer Plugin

Post by frax » 23 Nov 2010, 16:53

ok got it, thanks!
--
Hugo Ahlenius

User avatar
SvA
Posts: 441
Joined: 29 Mar 2006, 02:41
Location: DE

Re: JSON Viewer Plugin

Post by SvA » 15 Feb 2019, 20:55

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

Post Reply