Skip to main content

to_json

Function to_json 

Source
pub fn to_json(graph: &GeometryGraph) -> Result<String, WireError>
Expand description

Write graph as a JSON payload.

ยงErrors

WireError::NonFinite if the graph holds a NaN or an infinity.