|
anpcpp 0.1.0
Analytic Network Process computational library
|
JSON serialization for ANP networks (format v1). More...
Go to the source code of this file.
Classes | |
| class | anpcpp::JsonIoError |
| Thrown on JSON parse, validation, or I/O errors. More... | |
Namespaces | |
| namespace | anpcpp |
| Analytic Network Process computational library. | |
Functions | |
| std::string | anpcpp::network_to_json (const AnpNetwork &network) |
| Serializes a network (including subnetworks and layout hints) to JSON. | |
| std::unique_ptr< AnpNetwork > | anpcpp::network_from_json (const std::string &json_text) |
| Parses JSON produced by network_to_json. | |
| void | anpcpp::save_network_file (const AnpNetwork &network, const std::string &path) |
| Writes a network to a file. | |
| std::unique_ptr< AnpNetwork > | anpcpp::load_network_file (const std::string &path) |
| Loads a network from a file. | |
JSON serialization for ANP networks (format v1).