TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ from_json() [13/19]

template<typename BasicJsonType >
void nlohmann::detail::from_json ( const BasicJsonType &  j,
typename BasicJsonType::binary_t &  bin 
)

Definition at line 4159 of file json.hpp.

4160{
4161 if (JSON_HEDLEY_UNLIKELY(!j.is_binary()))
4162 {
4163 JSON_THROW(type_error::create(302, "type must be binary, but is " + std::string(j.type_name()), j));
4164 }
4165
4166 bin = *j.template get_ptr<const typename BasicJsonType::binary_t *>();
4167}