I need a C++ library (or headers, or code snippet) that will allow me to write JSON that includes an array of strings, such as a bunch of error messages.
Boost's property tree does not allow arrays of strings as far as I can tell - though I am using boost for another part of the project.
Ideally the JSON can be sent to stdout, though if it has to be written to a file I can live with that.
Any ideas what I can use?