casbin/casbin-cpp

Included nlohmann::json interfere with project dependencies

NewbieOrange opened this issue ยท 4 comments

Description

The recently added nlohmann::json has an older version than my project's minimal requirement, and casuing it failed to build.

Can we include a customized version of the json.hpp (adding casbin namespace?) to avoid interferences?

Of course, we can include a customized version of the json.hpp, adding it to casbin namespace to avoid different version of the json lib.
Maybe we should update the version of nlohmann::json at the same time. What's version should be better? 3.9 or 3.10?

Newer is better, probably :)

๐ŸŽ‰ This issue has been resolved in version 1.41.1 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€