Extension methods that add JSON serialisation to Span values.
Span
Serialises this span to a JSON object with all span fields.
A ujson.Value representing the full span.
ujson.Value