fix: get_to_safe type incompatibility

This commit is contained in:
Curve 2021-05-23 17:23:44 +02:00 committed by Noah
parent a673a9c817
commit c18781e918

View File

@ -97,7 +97,7 @@ namespace nlohmann
{
if (j.find(key) != j.end())
{
if (j.at(key).type() == nlohmann::basic_json(T{}).type())
if (j.at(key).type_name() == nlohmann::basic_json(T{}).type_name())
{
j.at(key).get_to(member);
}