Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pquerna/ffjson
/ MarshalJSON
Method
MarshalJSON
tests/ff.go:1036–1038 ·
view source on GitHub ↗
MarshalJSON func
()
Source
from the content-addressed store, hash-verified
1034
1035
// MarshalJSON func
1036
func
(C) MarshalJSON() ([]byte, error) {
1037
return
[]byte(`
"<&>"
`), nil
1038
}
1039
1040
// CText implements Marshaler and returns unescaped text.
1041
type
CText int
Callers
3
testSameMarshal
Function · 0.45
TestEncodeRenamedByteSlice
Function · 0.45
Marshal
Function · 0.45
Calls
no outgoing calls
Tested by
2
testSameMarshal
Function · 0.36
TestEncodeRenamedByteSlice
Function · 0.36