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

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