MCPcopy
hub / github.com/pquerna/ffjson / UnmarshalJSON

Method UnmarshalJSON

tests/ff.go:997–1000  ·  view source on GitHub ↗

UnmarshalJSON func

([]byte)

Source from the content-addressed store, hash-verified

995
996// UnmarshalJSON func
997func (r *Ref) UnmarshalJSON([]byte) error {
998 *r = 12
999 return nil
1000}
1001
1002// Val has Marshaler methods with value receiver.
1003type Val int

Callers 5

BenchmarkSimpleUnmarshalFunction · 0.45
TestSimpleUnmarshalFunction · 0.45
testExpectedErrorFunction · 0.45
DecodeMethod · 0.45
UnmarshalFunction · 0.45

Calls

no outgoing calls

Tested by 3

BenchmarkSimpleUnmarshalFunction · 0.36
TestSimpleUnmarshalFunction · 0.36
testExpectedErrorFunction · 0.36