Fork me on GitHub
#announcements
<
2023-12-22
>
Alex Miller (Clojure team)04:12:34

https://github.com/clojure/data.json 2.5.0 is now available • Fix https://clojure.atlassian.net/browse/DJSON-50: read can take a PushbackReader for repeated read use case • Fix write docstring to add :indent option added in https://clojure.atlassian.net/browse/DJSON-18 • Fix https://clojure.atlassian.net/browse/DJSON-57: Throw better exception when EOF encountered while reading array or object • Add [DJSON-46]: In read, add :extra-data-fn that can be provided to cause an eof check after value is read ◦ New functions on-extra-throw and on-extra-throw-remaining can be passed for some common needs • Add https://clojure.atlassian.net/browse/DJSON-54: In write, add :default-write-fn option to supply a handler for unknown types • Perf https://clojure.atlassian.net/browse/DJSON-61: Faster string writing when string is "simple" • Perf: Faster string writing when string is not simple • Perf: Faster read-str

👍 15
1
🙏 2
1
🎉 9
Noah Bogart23:12:43

What kind of performance improvements did you achieve?

Alex Miller (Clojure team)01:12:57

Wel, it will depend a lot on what you’re doing but on the order of 10%

Noah Bogart01:12:22

That’s great!

hifumi12308:12:54

data.json was already “fast enough” to replace cheshire at work and in hobby projects, so it’s awesome to see it is even faster now

mpenet11:12:18

New release of https://github.com/mpenet/hirundo - Tracking helidon 4.0.2

🎉 11