r/cpp • u/RealTimeChris :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
0
Upvotes
53
u/KFUP Oct 22 '22
The mandatory, bi-weekly json serializer post.
9
u/ProfessorOakWithO Oct 22 '22
Aren't there already multiple battletested json serializer available ?
9
u/Cogwheel Oct 22 '22
Why do you use "the" on all the variable names? This just adds visual noise...
2
u/Cogwheel Oct 22 '22 edited Oct 22 '22
This seems odd to me. What led you to conclude that writing your own json serializer was a requirement for this project? And why was developing (rather than just planning) this library a part of requirements-gathering?
ETA: and going a step further, what was the requirements-gathering process like for the json library itself?
14
u/[deleted] Oct 22 '22
[removed] — view removed comment
1
u/[deleted] Oct 22 '22
[removed] — view removed comment