static void json_emit_element(QJSON *json, const char *name)

{

    /* Check whether we need to print a , before an element */

    if (json->omit_comma) {

        json->omit_comma = false;

    } else {

        qstring_append(json->str, ", ");

    }



    if (name) {

        qstring_append(json->str, "\"");

        qstring_append(json->str, name);

        qstring_append(json->str, "\" : ");

    }

}

static void json_emit_element(QJSON *json, const char *name)

{

    

    if (json->omit_comma) {

        json->omit_comma = false;

    } else {

        qstring_append(json->str, ", ");

    }



    if (name) {

        qstring_append(json->str, "\"");

        qstring_append(json->str, name);

        qstring_append(json->str, "\" : ");

    }

}

static void FUNC_0(QJSON *VAR_0, const char *VAR_1)

{

    

    if (VAR_0->omit_comma) {

        VAR_0->omit_comma = false;

    } else {

        qstring_append(VAR_0->str, ", ");

    }



    if (VAR_1) {

        qstring_append(VAR_0->str, "\"");

        qstring_append(VAR_0->str, VAR_1);

        qstring_append(VAR_0->str, "\" : ");

    }

}

static void FUNC_0(QJSON *VAR_0, const char *VAR_1)
{ if (VAR_0->omit_comma) { VAR_0->omit_comma = false; } else { qstring_append(VAR_0->str, ", "); } if (VAR_1) { qstring_append(VAR_0->str, "\""); qstring_append(VAR_0->str, VAR_1); qstring_append(VAR_0->str, "\" : "); } }