mirror of https://github.com/arendst/Tasmota.git
19 lines
379 B
C
19 lines
379 B
C
|
#include "be_constobj.h"
|
||
|
|
||
|
static be_define_const_map_slots(m_libjson_map) {
|
||
|
{ be_const_key(dump, -1), be_const_func(m_json_dump) },
|
||
|
{ be_const_key(load, 0), be_const_func(m_json_load) },
|
||
|
};
|
||
|
|
||
|
static be_define_const_map(
|
||
|
m_libjson_map,
|
||
|
2
|
||
|
);
|
||
|
|
||
|
static be_define_const_module(
|
||
|
m_libjson,
|
||
|
"json"
|
||
|
);
|
||
|
|
||
|
BE_EXPORT_VARIABLE be_define_const_native_module(json, NULL);
|