lib: modules should use map_t for config options map (not string)
Problem
Module interface specifies module configuration as a string-encoded JSON, so each module has to interpret it, while it could already be interpreted as map.
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
Maybe it's not so bad, as a string is good for pretty much anything except lists and maps. But there needs to be a simple way to pickle/unpickle lists.
So there are three choices:
map_t
, {int argc, char *argv[]}
, stack or any custom data structure for I/O and do the conversions in the engineClearly this needs more contemplation.
Status changed to closed