#[unsafe(no_mangle)]pub unsafe extern "C" fn parse(ptr: *const u8, len: usize) -> *mut u8Expand description
Parse raw JSON bytes into a normalised HookEvent and return it as
length-prefixed JSON.
Side-effect: stores the detected CallerKind in the thread-local so that
the subsequent serialize call can use it.