TerraForge3D
2.3.1
3D Terrain And Landscape Generator
◆
from_json()
[14/19]
template<typename BasicJsonType >
void nlohmann::detail::from_json
(
const BasicJsonType &
j
,
typename BasicJsonType::boolean_t &
b
)
Definition at line
3947
of file
json.hpp
.
3948
{
3949
if
(JSON_HEDLEY_UNLIKELY(!j.is_boolean()))
3950
{
3951
JSON_THROW(type_error::create(302,
"type must be boolean, but is "
+ std::string(j.type_name()), j));
3952
}
3953
3954
b = *j.template get_ptr<const typename BasicJsonType::boolean_t *>();
3955
}
nlohmann
detail
Generated on Thu Apr 7 2022 14:10:59 for TerraForge3D by
1.9.3