TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ from_json() [7/19]

template<typename BasicJsonType , typename EnumType , enable_if_t< std::is_enum< EnumType >::value, int > = 0>
void nlohmann::detail::from_json ( const BasicJsonType &  j,
EnumType &  e 
)

Definition at line 4005 of file json.hpp.

4006{
4007 typename std::underlying_type<EnumType>::type val;
4008 get_arithmetic_value(j, val);
4009 e = static_cast<EnumType>(val);
4010}