Add support for Boost.JSON traits by prince-chrismc · Pull Request #165 · Thalhammer/jwt-cpp
Conversation
- requires the C++17 "standalone" version of the library
- it can not be used from a full boost installation
- must be the header only format
resolve #164
When I played with adding the C++11 full boost version, I found some missing assertions about the string_type which you can see were added
Comment on lines +1850 to +1851
| (std::is_same<typename object_type::key_type, string_type>::value || | ||
| std::is_constructible<typename object_type::key_type, string_type>::value) && |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the fix
| @@ -0,0 +1,18 @@ | |||
| cmake_minimum_required(VERSION 3.18) | |||
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters