view src/proto/json.pro @ 23891:650070143c56 v8.2.2488

patch 8.2.2488: json_encode() gives generic argument error Commit: https://github.com/vim/vim/commit/a853089479b60b829bab1c4a0a737a073415f8a7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 8 21:53:09 2021 +0100 patch 8.2.2488: json_encode() gives generic argument error Problem: json_encode() gives generic argument error. Solution: Mention the type that can't be encoded. (issue https://github.com/vim/vim/issues/7802)
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 Feb 2021 22:00:03 +0100
parents 0f7ae8010787
children 85b07a942518
line wrap: on
line source

/* 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(js_read_T *reader, typval_T *res, int options);
int json_find_end(js_read_T *reader, int options);
void f_js_decode(typval_T *argvars, typval_T *rettv);
void f_js_encode(typval_T *argvars, typval_T *rettv);
void f_json_decode(typval_T *argvars, typval_T *rettv);
void f_json_encode(typval_T *argvars, typval_T *rettv);
/* vim: set ft=c : */