allow 0x7f (DEL) inside strings (allowed in the RFC) - json2tsv - JSON to TSV converter
 (HTM) git clone git://git.codemadness.org/json2tsv
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 216c4f342f22413073cfa9a98cb069b93eb0ecb4
 (DIR) parent 03e5cd467dd7219175dc25fe821cea5e6d2a5520
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Tue, 15 Oct 2019 18:49:17 +0200
       
       allow 0x7f (DEL) inside strings (allowed in the RFC)
       
       Diffstat:
         M json2tsv.c                          |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/json2tsv.c b/json2tsv.c
       @@ -150,7 +150,8 @@ parsejson(void (*cb)(struct json_node *, size_t, const char *), const char **err
                                v = 0;
                                nodes[depth].type = TYPE_STRING;
                                for (escape = 0; (c = GETNEXT()) != EOF;) {
       -                                if (iscntrl(c))
       +                                /* 0x7f is not defined as a control-character in strings in the RFC */
       +                                if (c < 0x20)
                                                continue;
        
                                        if (escape) {