Skip to content
Christopher Dunn edited this page Feb 20, 2015 · 17 revisions

Table of Contents

General

I have an old compiler/platform. Do I need C++11?

We are switching to C++11 only. But our old code still works on old compilers. See the pre-C++11 branch, which will be in light-maintenance-only mode.

How do I write into array values?

https://sourceforge.net/p/jsoncpp/discussion/483465/thread/24cb7c88/

How do I fix the locale, for skipping commas in numbers?

You need this:

set locale(LC_NUMERIC, "POSIX")
after any other locale changes. Here is more info, our discussion, and an example.

How can I get stricter JSON parsing?

Json::Reader reader(Json::Features::strictMode());
See e.g. issue #39.

= Why has the formatting changed to write a single value per line?

You need *commentStyle* `"None"`. See [issue](https://github.com/open-source-parsers/jsoncpp/issues/181).

Project

Where are the API docs?

In a separate repo, to minimize the size of the code repo.

source-code
https://github.com/jacobsa/jsoncpp/
documentation
http://cdunn2001.github.io/json-cpp/
https://github.com/cdunn2001/json-cpp

Are you up-to-date with Chromium patches?

Almost. We plan to be.

Where are older questions and issues?

Windows

error: ambiguous overload for `operator[]` in `Json::Value`

[Sorry](http://stackoverflow.com/questions/18901781/jsoncpp-ambiguous-overload-only-in-windows).

MediaWiki

Why are you using media wiki here?

Because it provides a nice TOC for all the questions.

Clone this wiki locally