[program-l] Re: Simple Json Viewer

  • From: Ben Mustill-Rose <ben@xxxxxxxxx>
  • To: program-l@xxxxxxxxxxxxx
  • Date: Wed, 16 Nov 2022 09:31:22 +0000

Hi,

I tend to view it in VS Code these days. On Windows 10 or newer the
below command will work, for example:
curl http://httpbin.org/get ;| code -

It's a nice tool though, thank you for sharing.

Cheers,
Ben.

On 11/16/22, jacob kruger <jacob.kruger.work@xxxxxxxxx> wrote:

The one I use on a relatively regular basis is JSONViewer - bit old,
outdated, and, while you can find mention of it online, not that easy to
find current download links.


But, if you want it - sort of stand-alone windows executable that I have
added a shortcut to to my windows send-to menu, then, here's the .rar
file I uploaded to my own private server:

http://blindza.co.za/uploads/JsonView.rar


Opens up two tabs, one being wher eyou can paste/edit json markup, and,
the treeview, where you can explore the structure.


Stay well


Jacob Kruger
+2782 413 4791
"Resistance is futile...but, acceptance is versatile..."


On 2022/11/15 23:44, Karl-Otto Rosenqvist wrote:
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

** 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

** 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: