Mercurial > vim
comparison src/vim.h @ 7967:45ea5ebf3a98 v7.4.1279
commit https://github.com/vim/vim/commit/595e64e259faefb330866852e1b9f6168544572a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 7 19:19:53 2016 +0100
patch 7.4.1279
Problem: jsonencode() is not producing strict JSON.
Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode()
strict.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 07 Feb 2016 19:30:05 +0100 |
parents | e44240b5a6da |
children | a1b10634a28a |
comparison
equal
deleted
inserted
replaced
7966:79c5a86fcdfe | 7967:45ea5ebf3a98 |
---|---|
2315 # define MAX_OPEN_CHANNELS 10 | 2315 # define MAX_OPEN_CHANNELS 10 |
2316 #else | 2316 #else |
2317 # define MAX_OPEN_CHANNELS 0 | 2317 # define MAX_OPEN_CHANNELS 0 |
2318 #endif | 2318 #endif |
2319 | 2319 |
2320 /* Options for json_encode() and json_decode. */ | |
2321 #define JSON_JS 1 /* use JS instead of JSON */ | |
2322 #define JSON_NO_NONE 2 /* v:none item not allowed */ | |
2323 | |
2320 #ifdef FEAT_MZSCHEME | 2324 #ifdef FEAT_MZSCHEME |
2321 /* this is in main.c, cproto can't handle it. */ | 2325 /* this is in main.c, cproto can't handle it. */ |
2322 int vim_main2(int argc, char **argv); | 2326 int vim_main2(int argc, char **argv); |
2323 #endif | 2327 #endif |
2324 | 2328 |