From fbf186b1a32ddfbc9f84df35812cafe42e379b9c Mon Sep 17 00:00:00 2001 From: John Kerl Date: Mon, 1 Feb 2016 22:22:22 -0500 Subject: [PATCH] todo --- c/output/lrec_writer_json.c | 2 ++ c/todo.txt | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/c/output/lrec_writer_json.c b/c/output/lrec_writer_json.c index 18e116944..e838491c7 100644 --- a/c/output/lrec_writer_json.c +++ b/c/output/lrec_writer_json.c @@ -51,6 +51,8 @@ static void lrec_writer_json_free(lrec_writer_t* pwriter) { static void lrec_writer_json_process(FILE* output_stream, lrec_t* prec, void* pvstate) { lrec_writer_json_state_t* pstate = pvstate; + // xxx split on ":" ... convert to mlhmmv & just use that?!?!?? + if (prec != NULL) { // not end of record stream if (pstate->counter == 0) diff --git a/c/todo.txt b/c/todo.txt index ab2ebca65..8f6fccf75 100644 --- a/c/todo.txt +++ b/c/todo.txt @@ -53,7 +53,10 @@ TOP-OF-LIST DETAILS k output: mlr-native json output is trivial & just do it. - cover x 2 - define 'tabular JSON' by example @ mld - ? flatten/unflatten option? "." syntax? + ? flatten/unflatten option? ":" syntax? + - programmable allow-this-on-input flag + - programmable allow-this-on-output flag + - programmable flatten-separator ? or support multi-level lrecs?? ! lnx fixme: