mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
5c692daf17
2a55a0ed3055a2ce0a33b58a3a7bbf6e30df3dfd Squashed 'src/univalue/' changes from 98261b1e7b..98fadc0909 (MarcoFalke) Pull request description: Just a minor bugfix: Currently we don't push booleans into arrays, but if we did they'd be pushed as integers. Can be tested by reverting the diff in `include/` and observing a test failure. ACKs for top commit: laanwj: ACK fa17eef6274811be5348149443e563bca95d54a3 practicalswift: cr ACK fa17eef6274811be5348149443e563bca95d54a3 Tree-SHA512: d87ca5be6769b4cd0c9b9e319973bc0c4f2b7121779f9554e11f34a4edb0013997e875c7edb7bc6eb9309ff5c13379d22f436cd4fb9e6e68df6f0aee29fed914 |
||
---|---|---|
.. | ||
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.