Function write_array_json

Source
pub fn write_array_json<P, A, S>(
    path: P,
    array: &ArrayBase<S, IxDyn>,
) -> Result<()>
where P: AsRef<Path>, A: Serialize + Clone, S: Data<Elem = A>,
Expand description

Convenience function to write an array to JSON format