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

◆ unpack_json_array()

std::vector<double> pism::unpack_json_array ( const char *  name,
const json_t *  input 
)

Convert a JSON array to an STL vector.

Definition at line 84 of file ConfigJSON.cc.

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

Referenced by get_all_arrays(), and pism::ConfigJSON::get_numbers_impl().