serial: remove json (de)serialiser

this will be replaced with a new (de)serialiser that won't use
another library's data structures as an intermediary.
This commit is contained in:
2025-10-24 12:45:53 +01:00
parent 749bc8bc5b
commit 508cb75ea3
3 changed files with 1 additions and 3670 deletions

View File

@@ -5,13 +5,12 @@
#include <string.h>
extern const struct b_serial_format_ops z__b_bitcode_format_ops;
extern const struct b_serial_format_ops z__b_json_format_ops;
extern const struct b_serial_format_ops z__b_toml_format_ops;
static const struct b_serial_format_ops *format_ops[] = {
[B_SERIAL_FORMAT_NONE] = NULL,
[B_SERIAL_FORMAT_BITCODE] = &z__b_bitcode_format_ops,
[B_SERIAL_FORMAT_JSON] = &z__b_json_format_ops,
[B_SERIAL_FORMAT_JSON] = NULL,
[B_SERIAL_FORMAT_TOML] = &z__b_toml_format_ops,
};
static const size_t nr_format_ops = sizeof format_ops / sizeof format_ops[0];