![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Avro encoding/decoding example: JSON <-> Avro conversion. More...
#include "nilorea/n_common.h"#include "nilorea/n_log.h"#include "nilorea/n_str.h"#include "nilorea/n_avro.h"#include <stdio.h>#include <string.h>
Include dependency graph for ex_avro.c:Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
Avro encoding/decoding example: JSON <-> Avro conversion.
Definition in file ex_avro.c.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 35 of file ex_avro.c.
References avro_file_to_json(), avro_json_to_file(), avro_nstr_avro_to_json(), avro_nstr_json_to_avro(), avro_schema_free(), avro_schema_parse_nstr(), avro_schema_to_json(), char_to_nstr(), N_STR::data, file_to_nstr(), Free, free_nstr, LOG_DEBUG, LOG_ERR, LOG_INFO, n_log, nstr_to_file(), set_log_level(), and N_STR::written.
Here is the call graph for this function: