Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-06 | Detect end of input inside an unfinished JSON string | Jay Berkenbilt | |
2024-02-04 | Format code | Jay Berkenbilt | |
2024-01-18 | Handle default-constructed JSON objects | m-holger | |
2024-01-15 | Add new method JSON::getDictItem | m-holger | |
2023-05-21 | Rerun clang-format | Jay Berkenbilt | |
2022-07-24 | JSON schema: support multi-element array validation | Jay Berkenbilt | |
2022-07-24 | JSON schema -- accept single item in place of array | Jay Berkenbilt | |
When the schema wants a variable-length array, allow a single item as well as allowing an array. | |||
2022-05-21 | Format code | Jay Berkenbilt | |
2022-05-21 | Replace std::regex with validators for better performance | Jay Berkenbilt | |
2022-05-07 | Prepare code for JSON v2 | Jay Berkenbilt | |
Update getJSON() methods and calls to them | |||
2022-05-07 | JSON: add blob type that generates base64-encoded binary data | Jay Berkenbilt | |
2022-05-04 | Make assert handling less error-prone | Jay Berkenbilt | |
Prevent my future self or other contributors from using assert in tests and then having that assert not do anything because of the NDEBUG macro. | |||
2022-04-30 | Code clean up: use range-style for loops wherever possible | Jay Berkenbilt | |
Where not possible, use "auto" to get the iterator type. Editorial note: I have avoid this change for a long time because of not wanting to make gratuitous changes to version history, which can obscure when certain changes were made, but with having recently touched every single file to apply automatic code formatting and with making several broad changes to the API, I decided it was time to take the plunge and get rid of the older (pre-C++11) verbose iterator syntax. The new code is just easier to read and understand, and in many cases, it will be more effecient as fewer temporary copies are being made. m-holger, if you're reading, you can see that I've finally come around. :-) | |||
2022-04-04 | Programmatically apply new formatting to code | Jay Berkenbilt | |
Run this: for i in **/*.cc **/*.c **/*.h **/*.hh; do clang-format < $i >| $i.new && mv $i.new $i done | |||
2022-03-07 | Force assert to be defined in test code | Jay Berkenbilt | |
2022-01-30 | More editorial changes from m-holger + spell check | Jay Berkenbilt | |
2022-01-30 | Allow optional fields in json "schema" checks | Jay Berkenbilt | |
2022-01-30 | Implement JSONHandler for recursively processing JSON | Jay Berkenbilt | |
2022-01-30 | Add JSON::parse | Jay Berkenbilt | |
2021-02-13 | QUtil::double_to_string: trim trailing zeroes with option to disable | Jay Berkenbilt | |
2020-04-05 | JSON: implement pattern keys in schema | Jay Berkenbilt | |
2019-03-11 | Fix 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-25 | JSON::serialize -> unparse | Jay 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-22 | Add simple JSON serializer | Jay Berkenbilt | |