You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
String, number, boolean are now immutable objects.
Rename value::count () to size ().
Add int, long long and float overloads to number.
Make casting json object to primitive value more accurate.
Value is only casted to primitive if it is actually possible by static_cast.
Otherwise json_conversion_error is thrown.
This also fixes numeric value bug for string type object.
See: #2
Object and array iterators are now const iterators, object::const_iterator
String and number do not lazy generate anything, so string and number::value () are truly const..
value::stringify () is const.
value::stringify () returns pointer to new memory.
Primitive values are stored in union { bool, const wchar_t *, long double }