Compile-time JSON deserialization in C++ - Abdul Ghani - Medium
Recently, in writing a webserver, I thought it would be cool to provide some JSON de/serialization utility for my hypothetical users. Along the way I spent many hours missing things I take for granted in other languages but that are apparently absent from C++, primarily static reflection and pattern matching.But it turns out that despite popular opinion, both of these features are (sort of) present in modern C++ — you just need to know where to look! Here is how you could use similar ideas to de...
Read more at medium.com