1
0
forked from aniani/vim

patch 7.4.1154

Problem:    No support for JSON.
Solution:   Add jsonencode() and jsondecode().  Also add v:false, v:true,
            v:null and v:none.
This commit is contained in:
Bram Moolenaar
2016-01-23 19:46:28 +01:00
parent 6920c72d4d
commit 520e1e41f3
28 changed files with 863 additions and 34 deletions

View File

@@ -1896,7 +1896,17 @@ typedef int proftime_T; /* dummy for function prototypes */
#define VV_OPTION_OLD 60
#define VV_OPTION_TYPE 61
#define VV_ERRORS 62
#define VV_LEN 63 /* number of v: vars */
#define VV_FALSE 63
#define VV_TRUE 64
#define VV_NULL 65
#define VV_NONE 66
#define VV_LEN 67 /* number of v: vars */
/* used for v_number in VAR_SPECIAL */
#define VVAL_FALSE 0L
#define VVAL_TRUE 1L
#define VVAL_NONE 2L
#define VVAL_NULL 3L
#ifdef FEAT_CLIPBOARD