Commit Graph

8 Commits

Author SHA1 Message Date
Raphael Grimm
b3816f1422
Update include/nlohmann/detail/json_custom_base_class.hpp
Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
2022-08-27 17:12:34 +02:00
Raphael Grimm
0bcc12cb76
Update include/nlohmann/detail/json_custom_base_class.hpp
Co-authored-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
2022-08-19 12:49:38 +02:00
Raphael Grimm
afb108a7f8
Update include/nlohmann/detail/json_custom_base_class.hpp
Co-authored-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
2022-08-19 12:49:11 +02:00
Raphael Grimm
500fc0ab23 Remove accidentally duplicated doc text 2022-08-18 23:12:50 +02:00
Raphael Grimm
5204ebb0d0 Add documentation 2022-08-18 23:12:50 +02:00
Raphael Grimm
f43c6b433d Document what the include of type_traits is used for
Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
2022-08-18 23:12:50 +02:00
Raphael Grimm
8f4d8a6f93 Re run make amalgamate 2022-08-18 23:12:49 +02:00
Raphael Grimm
143f868f9c Allow to add a custom base class as an extension point to json nodes
* by default an empty class is used and the library behaves as it already did
* if a user explicitly adds a base class (last template parameter) each node inherits it
* this can be used to add custom extensions (e.g. add metadata / visitor methods)
* add test for this feature
2022-08-18 23:12:49 +02:00