[program-l] Simple Json Viewer

  • From: Karl-Otto Rosenqvist <karl-otto@xxxxxxxxxx>
  • To: "program-l@xxxxxxxxxxxxx" <program-l@xxxxxxxxxxxxx>
  • Date: Tue, 15 Nov 2022 22:44:08 +0100

Hi!
Today I had a session with the Azure CLI and I did as I always do, execute the command, press Ctrl + A and Ctrl + C, open Notepad and paste with Ctrl + V. Quite insufficient in the long run. Above that, Notepad isn't able to fold sub properties, arrays and such.
Ok, Notepad++ might do the job but I haven't used it for a while because it didn't work with my screen reader back then.

I created a very simple Windows application I call Json Viewer. If you press F5 it grabs the text on the clipboard, parses it and displays it in a tree view. It searches for the leading bracket or brace and the ending bracket or brace so it doesn't matter if you get the current prompt before and after the output.
You can also associate it to .json files so Json Viewer displays the file when you double click on it. You can open Json files from within the application too.

It's availible on my GitHub account:

https://github.com/towebo/JsonViewer

A zip with the compiled application can be downloaded here:

https://mawingu.se/downloads/JsonViewer.zip

I have some ideas on beeing able to copy a property value when you have a node selected but not today!

If it can help anyone else I'd be happy.


Regards

Karl-Otto

--
Karl-Otto Rosenqvist
MAWINGU
Orgnr: 750804-3937
0701- 75 98 56
karl-otto@xxxxxxxxxx
https://mawingu.se
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: