SpanValueJson

org.llm4s.trace.model.TraceModelJson.SpanValueJson
final implicit class SpanValueJson(val sv: SpanValue) extends AnyVal

Extension methods that add JSON serialisation to SpanValue variants.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def toJson: Value

Serialises this span attribute value to its typed JSON representation.

Serialises this span attribute value to its typed JSON representation.

Attributes

Returns

A ujson.Value encoding the type tag and value.

Concrete fields

val sv: SpanValue