#[unsafe(no_mangle)]pub unsafe extern "C" fn pio_package_diagnostics_json(
pkg: *const PioPackage,
errbuf: *mut c_char,
errlen: usize,
) -> *mut c_charExpand description
Return the package structured diagnostics array as JSON. The returned string
is owned by the library; free it with pio_string_free.