notepad++:- Plugin – “JSON Viewer”

Background

Running more and more into JSON everywhere I turn.

 

Notepad++

Notepad++ remains my go-to editor in MS Windows.

Let us go back and review how to use JSON Viewer to properly format an unformatted JSON file.

Plugin – JSON Viewer

Notepad++ has a lot of good things for it.

It is small and lightweight and truly extensible.

Yet, somehow the extensions do not weigh it down.

 

Outline

  1. Review Plugins
  2. Install Plugin
  3. Remove Plugin

 

Review Plugins

To list the installed plugins, please do the following:-

  1. Access the Main Menu
  2. Choose Plugins/Plugins Admin
  3. Access the “Installed” Tab
  4. Review the list of installed plugins

Image

 

Install Plugin – JSON Viewer

To list the installed plugins, please do the following:-

  1. Access the Main Menu
  2. Choose Plugins/Plugins Admin
  3. Access the “Available” Tab
  4. Enter “JSON” into the “Search” Text field
  5. Please click on the search box
  6. The “JSON Viewer” plugin is highlighted
  7. Please select the “JSON Viewer” plugin
  8. Invoke installation by selecting the “Install” button
  9. For the plugin installation to occur, notepad++ has to exit
  10. Plugin installation occurs

Image

Image – Plugins Admin – Available

Image – Plugins Admin – Tab – Available – Plugin – “JSON Viewer” – Selected

Image – Plugins Admin – Notepad++ is about to exit

 

Use Plugin – JSON Viewer

Let us use our newly installed plugin.

  1. Load a JSON File
    • Show JSON Viewer:- To view the file within a tree-like structure
      • Please choose the menu items – Plugins / JSON Viewer / Show JSON Viewer
        • A tree pane appears on the left side of your screen
        • The file’s content is represented within the tree
    • JSON Viewer:- To properly format the file
      • Please choose the menu items – Plugins / JSON Viewer / Format JSON
        • The file’s content is properly indented within the editor

Images

Image – JSON File – Original Contents

Image – JSON File – JSON Viewer

Image – JSON File – JSON Viewer

Online File Formatters

Of course, there are online editors, as well.

Inclusive:-

  1. CodeBeautify.Org

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s