r/cpp • :upvote: • Oct 21 '22

A New Json-Serializer

Hey everyone - so in developing for the requirements of my library DiscordCoreAPI - I created a Json-Serializer and decided to release it as its own "library". It seems to serialize fairly rapidly as well, and has a super-simple interface. Anyways - let me know what you think! Cheers! Oh ant btw - it can serialize into either Json or Etf strings. https://www.erlang.org/doc/apps/erts/erl_ext_dist.html

https://github.com/RealTimeChris/Jsonifier

0 Upvotes

57 comments sorted by

View all comments

Show parent comments

-1

u/RealTimeChris :upvote: Oct 22 '22

Yes but if it can be done faster and more efficiently - then why not?

9

u/TrashboxBobylev Oct 22 '22

How fast it is compared to rapidjson and such? Not by subjective feelings, but with benchmarks and profiling?

0

u/RealTimeChris :upvote: Oct 22 '22

I've yet to benchmark it against rapidjson but I've posted benchmarks against Nlohmann-Json, and it's up to roughly 3x as fast.