noseglid/pjson — Issue #15: strjson for deep structures.
Author: noseglid
Created: 2011-10-31 19:39:06+00:00
State: open

Pretty print is not nice when there is more than one level depth in a structure:

```
std::vector > vct;
std::vector value;
values.push_back(1);
values.apush_back(2);
vct.push_back(value);
Json::Value jv = Json::Builder::create(vct);
std::cout << jv.strjson() << std::endl;
```

produces the following

```
[
[
1,
2
]

]
```

While something like the following would be expected:

```
[
[
1,
2
]
]
```