toJson abstract method
Returns the event as the JSON object a trace file holds, without its
kind key, with every byte payload handed to blob and written as
the reference it returns.
Implementation
Map<String, Object?> toJson(TraceBlobWriter blob);