Add support for Boost.JSON traits by prince-chrismc · Pull Request #165 · Thalhammer/jwt-cpp

Conversation

@prince-chrismc

  • 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

prince-chrismc

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

prince-chrismc

@@ -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.

Co-authored-by: gerardoprada <gerardoprada@users.noreply.github.com>

1 participant

@prince-chrismc