Documentation ¶
Overview ¶
Package unpack provides a means to unmarshal Go values that have embedded interface values. Different concrete implementations of any interface value are properly decoded using an `unpack` struct tag to indicate a JSON field identifying the desired concrete type. To do so, a client of unpack registers each potential type in a Reflector, which binds a field with a particular value to that type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSkip = errors.New("unpack skip tag can only appear once")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.