pub fn set_json<T: Serialize + ?Sized>( namespace: &str, key: &str, value: &T, ) -> Result<(), String>
Writes an entry as JSON.