comparison src/proto/json.pro @ 7883:98a96e0ca73b v7.4.1238

commit https://github.com/vim/vim/commit/56ead341a75e1a0395eee94a3280c67e2278a57e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 2 18:20:08 2016 +0100 patch 7.4.1238 Problem: Can't handle two messages right after each other. Solution: Find the end of the JSON. Read more when incomplete. Add a C test for the JSON decoding.
author Christian Brabandt <cb@256bit.org>
date Tue, 02 Feb 2016 18:30:04 +0100
parents 17e6ff1a74f1
children 45ea5ebf3a98
comparison
equal deleted inserted replaced
7882:a3d3ab0f7b27 7883:98a96e0ca73b
1 /* json.c */ 1 /* json.c */
2 char_u *json_encode(typval_T *val); 2 char_u *json_encode(typval_T *val);
3 char_u *json_encode_nr_expr(int nr, typval_T *val); 3 char_u *json_encode_nr_expr(int nr, typval_T *val);
4 int json_decode_all(js_read_T *reader, typval_T *res);
4 int json_decode(js_read_T *reader, typval_T *res); 5 int json_decode(js_read_T *reader, typval_T *res);
6 int json_find_end(js_read_T *reader);
5 /* vim: set ft=c : */ 7 /* vim: set ft=c : */