Releases: 5cript/SimpleJSON
Releases · 5cript/SimpleJSON
Merging and much more
This release now has support for merger operations with default values.
This is especially useful if more non-optional members get added to a struct, which breaks compatibility with old files, even if sensible default values would exist.
I derped with release 0.4.1
v0.4.2 Merge branch 'master' of github.com:5cript/SimpleJSON
Fixed stuff and updated readme.
Update README.md Added additional example
Major cleanup and addition of polymorphic serialization
- All headers are now using the .hpp extension instead of .h
- All headers use pragma once instead of standard include guards
- unique_ptr and shared_ptr are now capable of serializing / deserializing polymorphic classes.
Boost Optional Release!
Features boost optional and a few improvements under the hood!
struct A
{
boost::optional <int> B; // only serializes if set - does not cause error on parse if missing.
boost::optional <std::vector <boost::optional <float> > > C;
}
Dropped support for stream manipultators.