Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 500 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 500 Bytes

jsoncodecs

standard JSON library of vim script

Install

Copy jsoncodes.vim to vimfiles/autoload of your Vim installation

Usage

It provide the following functions

  1. jsoncodecs#dump_string

    This functions take a list contains lines as input, output is a valid JSON string

  2. jsoncodecs#dump_lines

    A utility function print out the result from jsoncodecs#dump_string

      :1,$call b:json_dumplines()