madeso / json

A JSON parser for files written by humans
zlib License
0 stars 0 forks source link

Add a #define argument to add prefixes or custom names for structs #8

Closed madeso closed 4 years ago

madeso commented 5 years ago

Currently there exist a #define to add a namespace, perhaps there should be a macro to add a prefix to each name, like:

#define JSONH_NAME(x) Json##x
auto object = std::make_shared<JsonObject>();
madeso commented 4 years ago

Namespaces option will be removed in #24 and always exist. This is no longer relevant/desired.