MCPcopy Index your code
hub / github.com/pquerna/ffjson / Add

Method Add

inception/inception.go:60–63  ·  view source on GitHub ↗
(obj shared.InceptionType)

Source from the content-addressed store, hash-verified

58}
59
60func (i *Inception) Add(obj shared.InceptionType) {
61 i.objs = append(i.objs, NewStructInfo(obj))
62 i.PackagePath = i.objs[0].Typ.PkgPath()
63}
64
65func (i *Inception) wantUnmarshal(si *StructInfo) bool {
66 if si.Options.SkipDecoder {

Callers 1

AddManyMethod · 0.95

Calls 1

NewStructInfoFunction · 0.70

Tested by

no test coverage detected