comparison src/structs.h @ 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 b74549818500
children b421c7f2f172
comparison
equal deleted inserted replaced
7966:79c5a86fcdfe 7967:45ea5ebf3a98
2726 /* function to fill the buffer or NULL; 2726 /* function to fill the buffer or NULL;
2727 * return TRUE when the buffer was filled */ 2727 * return TRUE when the buffer was filled */
2728 void *js_cookie; /* can be used by js_fill */ 2728 void *js_cookie; /* can be used by js_fill */
2729 }; 2729 };
2730 typedef struct js_reader js_read_T; 2730 typedef struct js_reader js_read_T;
2731
2732 /* mode for a channel */
2733 typedef enum
2734 {
2735 MODE_RAW = 0,
2736 MODE_JSON,
2737 MODE_JS
2738 } ch_mode_T;