UniValue 2.1.0
What's new:
- Added a
bench
target to the project. If usingninja
, you can doninja bench
to run the benchmark.- This target optionally also finds and uses
nlohmann::json
(if installed) to compare this library to that library. - If curious, see univalue_bench.cpp for the implementation.
- This target optionally also finds and uses
- Renamed the static function
UniValue::Version()
(for querying library version) toUniValue::version()
, which is more consistent with the other names in this class. - Added an optional 3rd argument to
stringify
,reserve
, which allows the caller to hint to the function how much space to preallocate for the returned string. - Misc tiny fixups to
univalue.h