aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/json.cc
AgeCommit message (Collapse)Author
2022-04-04Programmatically apply new formatting to codeJay Berkenbilt
Run this: for i in **/*.cc **/*.c **/*.h **/*.hh; do clang-format < $i >| $i.new && mv $i.new $i done
2022-03-07Force assert to be defined in test codeJay Berkenbilt
2022-01-30More editorial changes from m-holger + spell checkJay Berkenbilt
2022-01-30Allow optional fields in json "schema" checksJay Berkenbilt
2022-01-30Implement JSONHandler for recursively processing JSONJay Berkenbilt
2022-01-30Add JSON::parseJay Berkenbilt
2021-02-13QUtil::double_to_string: trim trailing zeroes with option to disableJay Berkenbilt
2020-04-05JSON: implement pattern keys in schemaJay Berkenbilt
2019-03-11Fix json serialization for {x | -1 < x < 1} (fixes #308)Jay Berkenbilt
JSON serialization was preserving the value as presented, but JSON doesn't accept decimal values without a 0 before the decimal point.
2018-12-25JSON::serialize -> unparseJay Berkenbilt
Unparse is admittedly strange, but I'd rather be strange and consistent, and everything else in the qpdf library uses unparse to serialize. (If you're reading this, the convention of using "unparse" comes from the "clu" programming language.)
2018-12-22Add simple JSON serializerJay Berkenbilt