summaryrefslogtreecommitdiffstats
path: root/src/proto/json.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-24 16:49:11 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-24 16:49:11 +0100
commitfcaaae6b3fdbf3421a1ff95a25ae16d82381c39a (patch)
tree897597dbdd77dc91e87b5831a4b5e111adfc75ae /src/proto/json.pro
parent938ee834d345062cd94f8fdfd54fad0019432a83 (diff)
patch 7.4.1166v7.4.1166
Problem: Can't encode a Funcref into JSON. jsonencode() doesn't handle the same list or dict twice properly. (Nikolay Pavlov) Solution: Give an error. Reset copyID when the list or dict is finished.
Diffstat (limited to 'src/proto/json.pro')
-rw-r--r--src/proto/json.pro1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/proto/json.pro b/src/proto/json.pro
index 6920f516eb..06635456b0 100644
--- a/src/proto/json.pro
+++ b/src/proto/json.pro
@@ -1,5 +1,4 @@
/* json.c */
char_u *json_encode(typval_T *val);
-void json_encode_item(garray_T *gap, typval_T *val, int copyID);
void json_decode(js_read_T *reader, typval_T *res);
/* vim: set ft=c : */