PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ pack_json_array()

static json_t* pism::pack_json_array ( const std::vector< double > &  data)
static

Convert an STL vector to a JSON array.

Definition at line 59 of file ConfigJSON.cc.

References pism::RuntimeError::formatted(), and PISM_ERROR_LOCATION.

Referenced by pism::ConfigJSON::set_numbers_impl().