JSONedit: C++ class generator

JSONedit 0.9.8 introduces higly experimental C++ class code generator. This tool generates header (.h) + body (.cpp) files for very simple class serializable to/from JSON file, very similar to "Settings" class I have used e.g. for tSIP softphone.

JSONedit C++ class generator

Some basic conversion rules and characteristics:

Generator has quite a few limitations caused by its simplicity and/or differences between JSON and C++ objects:

Output class files have been quickly tested with C++ Builder and Visual C++ 2008 Express Edition (classtests.zip). Depending on project settings (precompiled headers) #pragma hdrstop or including stdafx.h respectively may be needed.

Back to JSONedit