to_json

Function to_json 

Source
pub fn to_json<T: Serialize>(problem: &T) -> Result<String>
Expand description

Serialize a problem to a JSON string.