TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ from_json() [18/19]

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

Definition at line 3958 of file json.hpp.

3959{
3960 if (JSON_HEDLEY_UNLIKELY(!j.is_string()))
3961 {
3962 JSON_THROW(type_error::create(302, "type must be string, but is " + std::string(j.type_name()), j));
3963 }
3964
3965 s = *j.template get_ptr<const typename BasicJsonType::string_t *>();
3966}