phytrace_event_to_json

Function phytrace_event_to_json 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn phytrace_event_to_json( event: *const PhyTraceEventHandle, ) -> *mut c_char
Expand 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().