diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-24 16:49:11 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-24 16:49:11 +0100 |
commit | fcaaae6b3fdbf3421a1ff95a25ae16d82381c39a (patch) | |
tree | 897597dbdd77dc91e87b5831a4b5e111adfc75ae /src/proto | |
parent | 938ee834d345062cd94f8fdfd54fad0019432a83 (diff) | |
download | vim-git-fcaaae6b3fdbf3421a1ff95a25ae16d82381c39a.tar.gz |
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')
-rw-r--r-- | src/proto/json.pro | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/proto/json.pro b/src/proto/json.pro index 6920f516e..06635456b 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 : */ |