Builders and security fix
Pre-release
Pre-release
- Added
CharReaderBuilderandStreamWriterBuilder- See Advanced Usage in our docs.
- These allow consistent configuration of
CharReaderandStreamWriterfor users who require customization. - They will also let us add new features without breaking binary-compatibility.
- If you are using
operator<<(ostream, Json::Value)andoperator>>(istream, Json::Value), you will not notice a change. - The old
Readerand oldWritersare deprecated, but still maintained.
- Fixed security hole.
- A deeply-nested JSON input could cause a seg-fault.
- The fix is imperfect. Please stop using the deprecated classes.
- Minor bug-fixes and enhancements, including:
-Wall -Wextra -pedanticfor gcc- Minor formatting improvements, mainly to the deprecated
StyledStreamWriter(which was the default foroperator<<(ostream, Value).
- Reverted C++11 features.
- We still use C++11 in cmake, but we are rebasing the
v0.8.zbranch (which is binary-compatible with the ancient sourceforge0.6.0-rc2release) in order to provide all the bug-fixes possible. - Going forward, we intend to follow the Apache versioning model for functional-, source-, and binary-compatibility.
- We still use C++11 in cmake, but we are rebasing the