It would be nice to have compiler flags to disable certain features. For example, I don't need parsing to write json logs. I'm only constructing the json and dumping it to strings but I like the convenience of how json objects are constructed in this library. I commented out the parsing stuff and reduced the code size by 60% so now I can put it on more embedded environments.
Possible features to turn off:
- Parsing
- SAX support
- bson support
- ubjson support
- cbor support
- msgpack support
It would be nice to have compiler flags to disable certain features. For example, I don't need parsing to write json logs. I'm only constructing the json and dumping it to strings but I like the convenience of how json objects are constructed in this library. I commented out the parsing stuff and reduced the code size by 60% so now I can put it on more embedded environments.
Possible features to turn off: