Talk type: Talk

JSON in C++: Tricks, Hacks and Unicode

  • Talk in Russian

We'll discuss (almost) everything you might need to work with JSON in C++:

  • We'll design C++ type to work with JSON values and remind ourselves some type design in the process, will carefully look back at standard containers, std::variant, and will try to make the interface easy to use correctly and hard to use incorrectly.
  • We'll go a little bit deeper into JSON specification and will implement string escaping and will look at pitfalls at the intersection of JSON and Unicode.
  • We'll implement relatively flexible serialization/stringification.
  • Finally we'll add support for C++ allocators.

After listening to this talk, you will have a deep understanding of JSON (including the specification), and ways to "cook" all of that.