#include <limits.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "avtextformat.h"
#include "libavutil/bprint.h"
#include "libavutil/opt.h"
#include "tf_internal.h"
Go to the source code of this file.
◆ OFFSET
◆ JSON_INDENT
#define JSON_INDENT |
( |
| ) |
writer_printf(wctx, "%*c", json->indent_level * 4, ' ') |
◆ DEFINE_FORMATTER_CLASS()
DEFINE_FORMATTER_CLASS |
( |
json |
| ) |
|
◆ json_init()
◆ json_escape_str()
static const char* json_escape_str |
( |
AVBPrint * |
dst, |
|
|
const char * |
src, |
|
|
void * |
log_ctx |
|
) |
| |
|
static |
◆ json_print_section_header()
◆ json_print_section_footer()
◆ json_print_item_str()
static void json_print_item_str |
( |
AVTextFormatContext * |
wctx, |
|
|
const char * |
key, |
|
|
const char * |
value |
|
) |
| |
|
inlinestatic |
◆ json_print_str()
static void json_print_str |
( |
AVTextFormatContext * |
wctx, |
|
|
const char * |
key, |
|
|
const char * |
value |
|
) |
| |
|
static |
◆ json_print_int()
◆ json_options
Initial value:
Definition at line 44 of file tf_json.c.
◆ avtextformatter_json
Initial value:= {
.name = "json",
.priv_class = &json_class,
}
Definition at line 203 of file tf_json.c.