pub mod assertion;
pub mod badge_class;
pub mod criteria;
pub mod cryptographic_key;
pub mod evidence;
pub mod identity;
pub mod issuer;
pub mod verification;
use serde::Serialize;
pub trait ToJsonLd
where
Self: Serialize,
{
fn to_json_ld(&self) -> Result<String, serde_json::Error> {
serde_json::to_string_pretty(self)
}
}