SpanIdJson

org.llm4s.trace.model.TraceModelJson.SpanIdJson
implicit class SpanIdJson(val spanId: SpanId)

Extension methods that add JSON serialisation to SpanId values.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def toJson: Value

Serialises this span identifier to a JSON string value.

Serialises this span identifier to a JSON string value.

Attributes

Returns

A ujson.Str containing the span ID string.

Concrete fields

val spanId: SpanId