#[unsafe(no_mangle)]pub unsafe extern "C" fn phytrace_event_to_json(
event: *const PhyTraceEventHandle,
) -> *mut c_charExpand description
Serialize a built event to JSON.
Returns a heap-allocated null-terminated JSON string, or null on failure.
The returned string must be freed with phytrace_string_free().