MCPcopy
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
1036func (C) MarshalJSON() ([]byte, error) {
1037 return []byte(`"<&>"`), nil
1038}
1039
1040// CText implements Marshaler and returns unescaped text.
1041type CText int

Callers 3

testSameMarshalFunction · 0.45
MarshalFunction · 0.45

Calls

no outgoing calls

Tested by 2

testSameMarshalFunction · 0.36