PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ 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().