enhanced the json writer to inject {} or [] manually when the outermost enclosers are not found

This commit is contained in:
2018-01-15 09:20:28 +00:00
parent fa21cef920
commit 5d71710b18
4 changed files with 44 additions and 9 deletions

View File

@ -30,7 +30,7 @@
#include <qse/types.h>
#include <qse/macros.h>
/** @file
/** \file
* This file defines functions and data structures to process
* command-line arguments.
*/

View File

@ -198,8 +198,12 @@ typedef enum qse_xli_list_flag_t qse_xli_list_flag_t;
enum qse_xli_text_flag_t
{
QSE_XLI_TEXT_VERBATIM = (1 << 0),
QSE_XLI_TEXT_DEINDENT = (1 << 1)
QSE_XLI_TEXT_VERBATIM = (1 << 0),
QSE_XLI_TEXT_DEINDENT = (1 << 1),
QSE_XLI_TEXT_LIST_OPENER = (1 << 2),
QSE_XLI_TEXT_LIST_CLOSER = (1 << 3),
QSE_XLI_TEXT_ARRAYED_LIST_OPENER = (1 << 4),
QSE_XLI_TEXT_ARRAYED_LIST_CLOSER = (1 << 5)
};
typedef enum qse_xli_text_flag_t qse_xli_text_flag_t;