How to enable C++ classes

  • Anonymous - 2010-12-06

    In JSONOptions.h, comment this line:
    //#define JSON_LIBRARY
    And uncomment this line:
    #define JSON_ITERATORS

  • Jonathan Wallace

    Thank you, I was unaware that it may be difficult to figure out how to turn on the C++ interface.  I will make sure to make it clearer in the documentation.  Keep an eye out for the next release, I've done some major refactoring to the code, will run even better, and I update often.


    • Ramon Padilla

      Ramon Padilla - 2013-09-18

      Hi Jon,

      Do you still have to run make in order to use the C++ interface or is the library header only? The documentation is not clear in this area.

  • Anonymous - 2010-12-17

    Well, it took me about an hour to figure this out. But then again, I'm not actually experienced with C++ and how librarys are used. Still, I think you're doing a really great job with this lib.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks