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 use)
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. Above, 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, then click the Install button in the lower right corner, and it will start to install. After the installation is complete , 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 more SON Viewer options in the menu.
Then place the mouse on the JSON Viewer option, click the Format JSON option in the submenu that appears or press its shortcut key; then you can see The large string of strings just now became very neat and orderly.
The above is the detailed content of How to display json data in notepad. For more information, please follow other related articles on the PHP Chinese website!