i have some application which needs
- to use preparsing for my json config file
- to use lazy parsing when handling network requests
how could i achieve both behaviours in one binary app?
and what is about JSON_PREPARSE option - should it be turned on or off in that case?
Hmm, unfortunately, no, there is no way to have both in one library. I doubt that the tiny overhead of parsing the configuration on the fly will have any real impact however. Because once it's parsed, it stays parsed, and I assume you only load the config once in a while?
Log in to post a comment.