Json is a lightweight data format. During normal data transmission, its format is usually in json format, but the json data is usually encrypted and it will become a very long string. It’s dazzling to see, so how can we clearly display json data?
Usually a lot of data files are generally saved in json format, such as province and city linkage, area code, postal code, address book, and game server area Wait, the picture below shows the detailed information of provinces and cities in various regions of the world saved in json. This is a very long string. (Recommended learning: notepad )
Then click the plug-in menu option on the current page, and place the mouse on the Plugin Manager option in the menu that appears. , click the Show Plugin Manager option in the submenu that appears.
Then find the [JSON Viewer] option on the pop-up page. You can see that the check in the box in front of it is not checked.
Check the box in front of it, and then click the [Install] button in the lower right corner, and it will start to install. After completion, a prompt window will pop up to restart the Notepad editor, click Yes .
##At this time, return to the Notepad page, click the plug-in menu option again, and the You can see an additional [JSON Viewer] option in the menu.
Then place the mouse on the J[SON Viewer] option, click the [Format JSON] option in the submenu that appears or press its shortcut key ; Then you can see that the large string of strings just now has become very neat and orderly.
The above is the detailed content of How to add json to notepad++. For more information, please follow other related articles on the PHP Chinese website!