Releases: Metalit/RapidjsonMacros
Allow multiple defaults
Fix paper2 issue
Narrowed bshook version range due to lockfile issue
Fix default value issue
Fixes an issue with using {}
as a default value with ambiguous constructors (which comes up with the ndk and not gcc so somebody is doing something wrong)
Better classes and bshook 6
DECLARE_JSON_CLASS(name, members)
is now DECLARE_JSON_STRUCT(name) { members };
and a bunch of other changes
Edge cases
- Improve bshook versioning
- Fix edge cases with keep extra fields and self name because apparently some people use that
Another bshook update
- Bump beatsaber-hook dependency to
^5.0.0
Update for bshook
- bshook
^4.0.0
cmake
in qpm.json because qpm is like that now- one-liner
ReadFrom
function overloads - new
UnparsedJSON
class for if you want to keep unknown json around and parse it later - better support for making a field in a class represent the entire class, because, uhh
- added
WriteTo
argument for pretty json writing
Release 1.0.0
Finally allows representation of any json structure I can think of, including unlimited nesting of all types, in and including variable options for type resolution. Exceptions have also been improved again, and quite a few bugs and edge cases have been resolved.
Release 0.4.6
Fixes issues where optional or default classes not being found would still throw an exception and the exception string would be incorrect when elements of vectors or maps are the wrong type. Also makes TypeOptions::GetValue
const.
Release 0.4.5
Fixes some issues with default values, including {}
for vectors and maps and default values being left inside those when deserializing.