Completing the JSON Serialization System - Let's Code E3

Publicado el: 28 abril 2023
en el canal de: BitsOfQ
417
16

In this third episode of the Let's Code series we are complete our JSON serialization project: We will implement the code to write list-like types, such as std::vectors, std::arrays and std::lists to JSON. To accomplish this we'll introduce a new c++20 concept, we'll use some more requires expressions and will write a small typetrait. Lastly, we are going to look at providing better compile time errors if the user invokes our library incorrectly. Througout the episode we will again continue to use Test Driven Development to guide us towards a correct and clean solution.

All code produced in this series can be found on the Bits of Q github:
https://github.com/QBouts/BitsOfQ

Let's Code Playlist:
   • Let's Code  



Timestamps:
0:00 Introduction
0:33 Serializing vectors: writing the test
2:39 Serializing vectors: production code
5:12 Sanity check: adding a more complex test
6:48 Making it more generic: extending tests
7:24 Making it more generic: ListLike concept
8:39 Making it more generic: Using the concept
9:09 Making it more generic: Dealing with ambiguity
12:29 Better compile-time errors: Undefined serialize function
15:51 Better compile-time errors: Not passing an NVP
17:24 Better compile-time errors: is_nvp type trait
19:28 Outro


En esta página del sitio puede ver el video en línea Completing the JSON Serialization System - Let's Code E3 de Duración hora minuto segunda en buena calidad , que subió el usuario BitsOfQ 28 abril 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 417 veces y le gustó 16 a los espectadores. Disfruta viendo!