Mercurial > vim
comparison src/proto/json.pro @ 7967:45ea5ebf3a98 v7.4.1279
commit https://github.com/vim/vim/commit/595e64e259faefb330866852e1b9f6168544572a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 7 19:19:53 2016 +0100
patch 7.4.1279
Problem: jsonencode() is not producing strict JSON.
Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode()
strict.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 07 Feb 2016 19:30:05 +0100 |
parents | 98a96e0ca73b |
children | dfd87ef822aa |
comparison
equal
deleted
inserted
replaced
7966:79c5a86fcdfe | 7967:45ea5ebf3a98 |
---|---|
1 /* json.c */ | 1 /* json.c */ |
2 char_u *json_encode(typval_T *val); | 2 char_u *json_encode(typval_T *val, int options); |
3 char_u *json_encode_nr_expr(int nr, typval_T *val); | 3 char_u *json_encode_nr_expr(int nr, typval_T *val, int options); |
4 int json_decode_all(js_read_T *reader, typval_T *res); | 4 int json_decode_all(js_read_T *reader, typval_T *res, int options); |
5 int json_decode(js_read_T *reader, typval_T *res); | 5 int json_decode(js_read_T *reader, typval_T *res, int options); |
6 int json_find_end(js_read_T *reader); | 6 int json_find_end(js_read_T *reader, int options); |
7 /* vim: set ft=c : */ | 7 /* vim: set ft=c : */ |