On Mon, Feb 8, 2016 at 12:53 AM, Bram Moolenaar wrote:
>
> Patch 7.4.1278
> Problem:When jsonencode() fails it still returns something.
> Solution: Return an empty string on failure.
Confirmed.
Thanks! :)
--
--
You received this message from the "vim_dev" maillist.
Patch 7.4.1278
Problem:When jsonencode() fails it still returns something.
Solution: Return an empty string on failure.
Files: src/json.c, src/channel.c, src/testdir/test_json.vim,
src/testdir/test_channel.vim, src/testdir/test_channel.py
*** ../vim-7.4.1277/src/json.c