Skip to content

Releases: 5cript/SimpleJSON

Merging and much more

Choose a tag to compare

@5cript 5cript released this 23 Mar 16:06

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

Choose a tag to compare

@5cript 5cript released this 28 Jul 16:17
v0.4.2

Merge branch 'master' of github.com:5cript/SimpleJSON

Fixed stuff and updated readme.

Choose a tag to compare

@5cript 5cript released this 28 Jul 16:14
Update README.md

Added additional example

Major cleanup and addition of polymorphic serialization

Choose a tag to compare

@5cript 5cript released this 28 Jul 16:04
  • 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!

Choose a tag to compare

@5cript 5cript released this 03 Dec 01:28

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.