mirror of
https://github.com/vim/vim.git
synced 2025-10-09 06:14:17 -04:00
Problem: jsonencode() is not producing strict JSON. Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode() strict.
8 lines
332 B
C
8 lines
332 B
C
/* json.c */
|
|
char_u *json_encode(typval_T *val, int options);
|
|
char_u *json_encode_nr_expr(int nr, typval_T *val, int options);
|
|
int json_decode_all(js_read_T *reader, typval_T *res, int options);
|
|
int json_decode(js_read_T *reader, typval_T *res, int options);
|
|
int json_find_end(js_read_T *reader, int options);
|
|
/* vim: set ft=c : */
|