Function key::to_json

source ยท
pub fn to_json(db: Database) -> Result<String>