#include <inttypes.h>
#include <limits.h>
#include <stdarg.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_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:= {
}
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
Definition at line 43 of file tf_json.c.
◆ avtextformatter_json
Initial value:= {
.name = "json",
.priv_class = &json_class,
}
#define AV_TEXTFORMAT_FLAG_SUPPORTS_MIXED_ARRAY_CONTENT
#define flags(name, subs,...)
int(* init)(AVBSFContext *ctx)
static void json_print_section_header(AVTextFormatContext *wctx, const void *data)
static av_cold int json_init(AVTextFormatContext *wctx)
static void json_print_str(AVTextFormatContext *wctx, const char *key, const char *value)
static void json_print_int(AVTextFormatContext *wctx, const char *key, int64_t value)
static void json_print_section_footer(AVTextFormatContext *wctx)
Definition at line 202 of file tf_json.c.