mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
3f8a7b2068
* Begin Merge 12193 Squashed 'src/univalue/' changes from 07947ff2da..51d3ab34ba 51d3ab34ba Merge #10: Add pushKV(key, boolean) function (replaces #5) 129bad96d5 [tests] test pushKV for boolean values b3c44c947f Pushing boolean value to univalue correctly git-subtree-dir: src/univalue git-subtree-split: 51d3ab34ba2857f0d03dc07250cb4a2b5e712e67 * scripted-diff: Use UniValue.pushKV instead of push_back(Pair()) (end #12193) -BEGIN VERIFY SCRIPT- git grep -l "push_back(Pair" | xargs sed -i "s/push_back(Pair(\(.*\)));/pushKV(\1);/g" -END VERIFY SCRIPT- Signed-off-by: pasta <pasta@dashboost.org> Co-authored-by: MarcoFalke <falke.marco@gmail.com> |
||
---|---|---|
.. | ||
build-aux/m4 | ||
gen | ||
include | ||
lib | ||
pc | ||
test | ||
.gitignore | ||
.travis.yml | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
README.md | ||
TODO |
UniValue
Summary
A universal value class, with JSON encoding and decoding.
UniValue is an abstract data type that may be a null, boolean, string, number, array container, or a key/value dictionary container, nested to an arbitrary depth.
This class is aligned with the JSON standard, RFC 7159.
Library usage
This is a fork of univalue used by Dash Core. It is not maintained for usage by other projects. Notably, the API may break in non-backward-compatible ways.
Other projects looking for a maintained library should use the upstream univalue at https://github.com/jgarzik/univalue.