PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ json()

std::string pism::Config::json ( ) const

Return the configuration as a JSON string containing parameter names, their values and (for numerical parameters) their units. Documentation strings, type information and command-line options are omitted to make this string as short as possible.

Definition at line 891 of file Config.cc.

References all_doubles(), all_flags(), all_strings(), json(), pism::special_parameter(), type(), and units().

Referenced by json(), and pism::io::write_config().