convert xml file to json file or json file to xml file.
- you should use sublime package manager
- use
cmd+shift+P
thenPackage Control: Install Package
- look for
xml2json
and install it. - OR, Clone or unpack to "xml2json" folder inside "Packages" of your Sublime installation.
- use
cmd+shift+P
thenxml2json
orxml2json pretty
orjson2xml
orjson2xml pretty
- or goto menubar
Tools
thenxml2json
- or bind some key in your user key binding:
{
"keys": ["ctrl+alt+shift+j"],
"command": "xml2json"
},
{
"keys": ["ctrl+alt+shift+l"],
"command": "json2xml"
}