News for hackers. Stuff that matters.
Re:JSON for Modern C++ version 3.10.0 by tsbinz on Thursday August 19, 2021 @03:25AM (#28231292)
Uh, it has plenty of methods for more compact encodings? https://github.com/nlohmann/json#binary-formats-bson-cbor-me...
Re:JSON for Modern C++ version 3.10.0 by modeless on Thursday August 19, 2021 @10:23AM (#28234184)
Sure, if you want to change the format of the whole message. If you're communicating with something that accepts JSON and you can't or don't want to change that, then having a more efficient option is nice.