jsoncodecs.vim : Dumps lines from vim to a valid JSON string
| script karma |
Rating 9/3,
Downloaded by 2078 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| yf liu |
| |
| script type |
| utility |
| |
| description |
Use g:loaded_jsoncodecs to check whether jsoncodecs is loaded
Sample code
if exists(\"g:loaded_jsoncodecs\")
// do what you like
endif
It provide the following functions
1. b:json_dump_string({lines})
This functions take a list contains lines as input, output is a valid JSON string
2. b:json_dumplines
This is a utility function print out the result from json_dump_string
:1,$call b:json_dumplines() |
| |
| install details |
| put to $VIM/plugin |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.107
|