|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
Render a System's structure as JSON: named fields for its parts. More...
#include <boost/json.hpp>#include "bertini2/system/system.hpp"#include "bertini2/function_tree/find.hpp"#include <sstream>#include <string>#include <variant>Go to the source code of this file.
Namespaces | |
| namespace | bertini |
| namespace | bertini::io |
Functions | |
| boost::json::object | bertini::io::SystemPartsJson (System const &sys) |
| A System's structure as a JSON object with fields for its parts. | |
Render a System's structure as JSON: named fields for its parts.
This is the presentation view of a system for the structured output directory – variable groups, path variable, functions, patches – machine-parseable with one json.load. Classic (Bertini 1) syntax is deliberately NOT used here: classic is an input/compatibility format for replicating results in that software, and it cannot express bertini2's block structure. The exact, identity-bearing form of a system is its canonical encoding (b2sysenc, ADR-0042); this view is derived and regenerable.