示例#1
0
void jsonw_end_array(json_writer_t *self)
{
	if (self->pretty && self->sep)
		putc(' ', self->out);
	self->sep = '\0';
	jsonw_end(self, ']');
}
示例#2
0
void jsonw_end_object(json_writer_t *self)
{
	jsonw_end(self, '}');
}
示例#3
0
void jsonw_end_array(json_writer_t *self)
{
	jsonw_end(self, ']');
}