Skip to main content

json

Function json 

Source
pub fn json(recorder: &Recorder) -> Result<String, SimError>
Expand description

The recorded rows as JSON: {"tool": {...}, "columns": [names], "rows": [[values], ...]}, each row in the columns’ order. tool names the program that wrote the file: {"name": "FusionSpace HPR", "version": "0.1.0", "designation": "FS-ACHERNAR \u00b7 SW \u00b7 TOOL 001"}, the text in ASCII (ascii). A FlightSummary is serializable on its own (serde_json::to_string).

§Errors

SimError::Domain for a value that isn’t finite.