TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ from_json() [1/19]

template<typename BasicJsonType , typename T , std::size_t N>
auto nlohmann::detail::from_json ( BasicJsonType &&  j,
identity_tag< std::array< T, N > >  tag 
) -> decltype(from_json_inplace_array_impl(std::forward<BasicJsonType>(j), tag, make_index_sequence<N> {}))

Definition at line 4147 of file json.hpp.

4148 {}))
4149{
4150 if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
4151 {
4152 JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j));
4153 }
4154
4155 return from_json_inplace_array_impl(std::forward<BasicJsonType>(j), tag, make_index_sequence<N> {});
4156}