Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ MarshalJSON
Method
MarshalJSON
tempodb/backend/uuid.go:61–63 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
}
60
61
func
(u UUID) MarshalJSON() ([]byte, error) {
62
return
json.Marshal(((google_uuid.UUID)(u)).String())
63
}
64
65
func
(u *UUID) UnmarshalJSON(data []byte) error {
66
var
s string
Callers
1
Test_roundTrip
Function · 0.95
Calls
2
Marshal
Method · 0.65
String
Method · 0.45
Tested by
1
Test_roundTrip
Function · 0.76