fix: get_to_safe type incompatibility
This commit is contained in:
parent
a673a9c817
commit
c18781e918
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user