TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ get_msgpack_array()

template<typename BasicJsonType , typename InputAdapterType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::get_msgpack_array ( const std::size_t  len)
inlineprivate
Parameters
[in]lenthe length of the array
Returns
whether array creation completed

Definition at line 10166 of file json.hpp.

10167 {
10168 if (JSON_HEDLEY_UNLIKELY(!sax->start_array(len)))
10169 {
10170 return false;
10171 }
10172
10173 for (std::size_t i = 0; i < len; ++i)
10174 {
10175 if (JSON_HEDLEY_UNLIKELY(!parse_msgpack_internal()))
10176 {
10177 return false;
10178 }
10179 }
10180
10181 return sax->end_array();
10182 }
json_sax_t * sax
the SAX parser
Definition: json.hpp:10987