patch 7.4.1279
Problem: jsonencode() is not producing strict JSON.
Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode()
strict.
diff --git a/src/vim.h b/src/vim.h
index 02f3036..17034ef 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2317,6 +2317,10 @@
# define MAX_OPEN_CHANNELS 0
#endif
+/* Options for json_encode() and json_decode. */
+#define JSON_JS 1 /* use JS instead of JSON */
+#define JSON_NO_NONE 2 /* v:none item not allowed */
+
#ifdef FEAT_MZSCHEME
/* this is in main.c, cproto can't handle it. */
int vim_main2(int argc, char **argv);