Function abstutil::serde::to_json[][src]

pub fn to_json<T: Serialize>(obj: &T) -> String
Expand description

Stringifies an object to nicely formatted JSON.