|
Janus 2.0.0
High-performance C++20 dual-mode numerical framework
|
Functions | |
| void | write_json (const std::string &filename, const std::map< std::string, std::vector< double > > &data) |
| Write a map of string-to-vector<double> as JSON. | |
| std::map< std::string, std::vector< double > > | read_json (const std::string &filename) |
| Parse a flat JSON file into a string-to-vector<double> map. | |
|
inline |
Parse a flat JSON file into a string-to-vector<double> map.
| filename | Input file path (must contain a top-level object with array values) |
|
inline |
Write a map of string-to-vector<double> as JSON.
| filename | Output file path |
| data | Map of key-value pairs to serialize |