News for hackers. Stuff that matters.
Re:The Serde Rust Framework by Taywee on Thursday October 14, 2021 @06:43PM (#28871190)
C++ isn't super easy about it, though. The best C++ json library (in my opinion), nlohmann's json, still requires you to define to_json and from_json for your types to use them. It's not too bad as a one-off, but when you have dozens of types, it gets really tedious compared to Serde, and managing std::variant with it is way more annoying than Serde with Rust enums.

There are no comments on this comment yet.