#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_profile_to_json(
profile: *const PamojaProfile,
) -> *mut PamojaStringExpand description
Serializes a profile to its JSON manifest.
§Arguments
profile- the profile.
§Returns
A string the caller must release with
pamoja_string_free, or null if profile is
null or the profile cannot be serialized.
§Safety
profile must be a live handle from a call that produced one, or null.