MCPcopy Create free account
hub / github.com/francoispqt/gojay / AddInterface

Method AddInterface

decode_interface.go:118–120  ·  view source on GitHub ↗

Add Values functions AddInterface decodes the JSON value within an object or an array to a interface{}.

(v *interface{})

Source from the content-addressed store, hash-verified

116
117// AddInterface decodes the JSON value within an object or an array to a interface{}.
118func (dec *Decoder) AddInterface(v *interface{}) error {
119 return dec.Interface(v)
120}
121
122// Interface decodes the JSON value within an object or an array to an interface{}.
123func (dec *Decoder) Interface(value *interface{}) error {

Callers

nothing calls this directly

Calls 1

InterfaceMethod · 0.95

Tested by

no test coverage detected