notepad++插件实现jsonxml格式化
Posted mvpbang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了notepad++插件实现jsonxml格式化相关的知识,希望对你有一定的参考价值。
notepad++比较出色的免费的数据编辑、格式化工具。。。
现在json、xml文件很流行、格式化也是必须的,方便查看关键信息!
01、下载notepad++及相关插件
npp_7.5.5-x86:
https://files.cnblogs.com/files/xiaochina/npp_7.5.5-x86.zip
npp-json:
https://files.cnblogs.com/files/xiaochina/NPPJSONViewer1_19vFix.zip
npp-xml:
https://files.cnblogs.com/files/xiaochina/XmlTools2.4.9.2Unicode.zip
注意:版本都是win-32位的
02、安装插件
json安装到notepad++的plugin目录下
1. Paste the file "NPPJSONViewer.dll" to Notepad++ plugin folder 2. open a document containing a JSON string 3. Select JSON fragment and navigate to plugins/JSON Viewer/show JSON Viewer or press "Ctrl+Alt+Shift+J" 4. Viola!! if the JSON is valid, it will be shown in a Treeview
xml安装dependencies/下dll安装到notepad++根目录,XMLTools.dll安装到plugin目录下
XMLTools 2.4.x installation --------------------------- 1. stop notepad++ 2. replace XMLTools.dll in npp plugins subfolder 3. only if version 2.3.x or earlier is already installed, then remove following files from npp main folder: - iconv.dll - libxml2.dll - libxslt.dll - zlib.dll 4. copy new external dll either into npp main folder (same folder than "notepad++.exe") or in %appdata%\\Notepad++ folder: - libcurl.dll - libiconv-2.dll - libwinpthread1-dll - libxml2-2.dll - libxslt-1.dll - zlib1.dll After installation in npp main folder, you should have following structure: [NPP_ROOT_FOLDER] ¦ notepad++.exe | libcurl.dll ¦ libiconv-2.dll ¦ libwinpthread-1.dll ¦ libxml2-2.dll ¦ libxslt-1.dll ¦ zlib1.dll +---[plugins] XMLTools.dll
03、运行截图
以上是关于notepad++插件实现jsonxml格式化的主要内容,如果未能解决你的问题,请参考以下文章