Pretty Printer
50760c6935
Format first-party source according to .clang-format
2020-04-23 10:02:04 -07:00
Scott Schurr
3ea525430e
Improve Json::Value:
...
o Increase test coverage.
o Remove unused and/or broken interfaces.
2019-11-27 17:28:15 -08:00
seelabs
b9e73b4852
Fix shadowing variables
2019-08-23 08:47:42 -07:00
John Freeman
c354809e1c
Implement missing string conversions for JSON
...
`Json::Value::isConvertibleTo` indicates that unsigned integers and
reals are convertible to string, but trying to do so (with
`Json::Value::asString`) throws an exception because its internal switch
is missing these cases. This change fills them in (and adds tests).
Acknowledgements:
Ripple thanks Guido Vranken for responsibly disclosing this issue.
Closes #2778
2018-11-25 17:37:14 -08:00
Howard Hinnant
157c066f2b
Fix memory leak in Json move assignment operator
...
* When move assignment is creates a cyclic ownership pattern
memory was being leaked. This patch breaks the cycle.
* Fixes : #2572
2018-11-06 10:26:29 -08:00
Mike Ellery
5741a8356f
Refine json object test for NDEBUG case
2018-09-28 09:15:06 -07:00
Joe Loser
7c785d0d7c
Add missing override keyword:
...
* Enable the `suggest-override` warning for gcc
* Fix all functions that were flagged by that warning
2018-06-01 13:29:52 -04:00
Mike Ellery
deb9e4ce3c
Remove BeastConfig.h (RIPD-1167)
2018-04-08 01:52:12 -07:00
Howard Hinnant
0ec66b3dbc
Limit nesting of json commands
2018-01-17 15:33:15 -08:00
Brad Chase
3e483cfa4c
Improve JSON logging
2017-12-01 14:15:05 -05:00
Edward Hennis
7e9ac16c22
Fix Json Int/UInt comparison limit check
2017-04-24 13:20:40 -07:00
Brad Chase
fb60cc9b5b
Cleanup unit test support code (RIPD-1380):
...
* Remove `src/test/support/mao`
* Flatten `src/test/support/jtx` to `src/test/jtx`
2017-01-13 15:01:20 -08:00
Brad Chase
b6a01ea41c
Move support test code to src/test/support (RIPD-1313)
2016-12-23 20:39:02 -05:00
Brad Chase
8f97889176
Don't include unit test sources in code coverage (RIPD-1132):
...
Most files containing unit test code are moved to
src/test. JTx and the test client code are not yet moved.
2016-09-02 15:26:16 -04:00