Home >Development Tools >notepad >How to format json in notepad

How to format json in notepad

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-07 16:21:2212200browse

How to format json in notepad

Many data files are generally saved in json format, such as the linkage of provinces and cities, area codes, postal codes, address books, game server areas, etc. The following picture is in json Detailed information about provinces and cities in various regions of the world is saved. This is a very long string.

How to format json in notepad

Then click on the "Plug-in" menu option on the current page, place the mouse on the "Plugin Manager" option in the menu that appears, and click on the submenu that appears "Show Plugin Manager" option.

How to format json in notepad

How to format json in notepad

Related recommendations: "Notepad using graphic tutorial"

Then in the pop-up Find the "JSON Viewer" option on the page, and you can see that the check in the box in front of it is not checked.

How to format json in notepad

Check the check box in front of it, and then click the "Install" button in the lower right corner. It will start the installation. After the installation is completed, a pop-up will appear. Restart the Notepad editor prompt window and click "Yes".

How to format json in notepad

How to format json in notepad

At this time, return to the Notepad page, click the plug-in menu option again, and you can see more in the menu that appears. JSON Viewer options.

How to format json in notepad

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 view The large string of strings just now has become very neat and orderly.

How to format json in notepad

How to format json in notepad

The above is the detailed content of How to format json in notepad. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn