JSON parse / stringify
Coming from vim-rhubarb, this plugin provides JSON#parse
and JSON#stringify
for inclusion in other plugins.
Install this plugin using your favorite plugin manager, or manually by
extracting the files in your ~/.vim
or ~/.config/nvim
directory.
Plug 'mklabs/vim-json'
let data = JSON#parse(json)
Takes json
string and return the equivalent data
dictionary.
let json = JSON#stringify(dictionary)
Takes dictionary
and return the json
representation.
Distributed under the same terms as Vim itself. See :help license