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

How to format json in notepad

angryTom
angryTomOriginal
2019-08-16 09:57:467724browse

How to format json in notepad

json is a lightweight data format. During normal data transmission, its format is generally json format, but the json data is generally encrypted, and it will It turns into a very long string, which is dazzling to see. You can format it and then read it again. Then it will be very clear. So how to use Notepad to format json?

Recommended tutorial: notepad graphic tutorial

1. Usually there are quite a lot of data files. Saved in json format, such as the linkage of provinces and municipalities, area codes, postal codes, address books, game server areas, etc. The picture below shows the detailed information of provinces and municipalities in various regions of the world saved in json. This is a very long Very long string.

How to format json in notepad

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

How to format json in notepad

#3. Then find the JSON Viewer option in the pop-up page. You can see that the check in the box in front of it is not checked.

How to format json in notepad

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

How to format json in notepad

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

How to format json in notepad

6. 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 what you just saw A large string of strings becomes 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