forked from MazaCoin/maza
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ba341a2 Add getObjMap() helper method. Also, constify checkObject(). (Jeff Garzik) ceb1194 Handle .pushKV() and .checkObject() edge cases. (Jeff Garzik) 107db98 Add ::push_back(double) method for feature parity. (Jeff Garzik) d415300 Move one-line implementation of UniValue::read() to header. (Jeff Garzik) 52e85b3 Move exception-throwing get_* methods into separate implementation module. (Jeff Garzik) dac5296 README.md: update code quotes (Jeff Garzik) 3e31dcf README.md: close code quote (Jeff Garzik) d09b842 Update README.md (Jeff Garzik) f1b86ed Convert README to markdown style. (Jeff Garzik) 1dfe464 Import UniValue class unit tests from bitcoin project. (Jeff Garzik) 0d3e74d operator[] takes size_t index parameter (versus unsigned int) (kozyilmaz) 640158f Private findKey() method becomes size_t clean, and returns bool on failure. (kozyilmaz) 4fd5444 Reject unterminated strings (Russell Yanofsky) a31231b Version 1.0.3 (Jeff Garzik) cfa0384 Convenience wrappers for push_back-ing integer types (isle2983) fd32d1a Don't require nul-terminated string inputs (Russell Yanofsky) 0bb1439 Support parsing raw literals in UniValue (Russell Yanofsky) 839ccd7 Add test driver for JSONTestSuite (Russell Yanofsky) a38fcd3 Do not shadow member variable codepoint. (Pavel Janík) 26ef3ff Remove trailing whitespace from JSON export (BtcDrak) Pull request description: No rush, feel free to keep this open until upstream merged the outstanding pulls. Tree-SHA512: f25fefc0319d8a02802fc802d75bada17ad583c81d92005947d93fb16ff7cff03b5fd92d986dccfec24cbfd13d87e08afef1efd6bac42ec0d57c6901930a5f50
- Loading branch information
Showing
23 changed files
with
782 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
# 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](https://tools.ietf.org/html/rfc7159.html). | ||
|
||
## Installation | ||
|
||
This project is a standard GNU | ||
[autotools](https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html) | ||
project. Build and install instructions are available in the `INSTALL` | ||
file provided with GNU autotools. | ||
|
||
``` | ||
$ ./autogen.sh | ||
$ ./configure | ||
$ make | ||
``` | ||
|
||
## Design | ||
|
||
UniValue provides a single dynamic RAII C++ object class, | ||
and minimizes template use (contra json_spirit). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.