MCPcopy 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
597func (s String) MarshalJSON() ([]byte, error) {
598 return json.Marshal(s.String())
599}
600
601func (s *String) UnmarshalJSON(p []byte) error {
602 var str string

Callers

nothing calls this directly

Calls 2

StringMethod · 0.95
MarshalMethod · 0.65

Tested by

no test coverage detected