Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dagger/dagger
/ MarshalJSON
Method
MarshalJSON
dagql/types.go:597–599 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
595
}
596
597
func
(s String) MarshalJSON() ([]byte, error) {
598
return
json.Marshal(s.String())
599
}
600
601
func
(s *String) UnmarshalJSON(p []byte) error {
602
var
str string
Callers
nothing calls this directly
Calls
2
String
Method · 0.95
Marshal
Method · 0.65
Tested by
no test coverage detected