Very efficient JSON parsing, writing and accessing library for C++. Currently used in a major Point of Sale application among other projects as the main library for using JSON and XML. Designed to allow use of JSON in C++ in a manner similar to other languages like Javascript and Python. For example int iValue = jDocument["key"]["subKey"]._int();
if you call the iterator based value::erase without reassigning the iterator (like: it = jOld.erase(it);), the iterator will try to clear the key from the now deleted object it came from.
Need to change erase(iterator it) to erase(iterator& it) and update bSetKey of the iterator to false.