Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalWithOptions ¶
func UnmarshalWithOptions(data []byte, out any, options DecodeOptions) error
Types ¶
type DecodeOptions ¶
type DecodeOptions struct {
RejectUnknownMembers bool
}
type RawMessage ¶
type RawMessage []byte
RawMessage stores a raw encoded JSON value. It is equivalent to encoding/json.RawMessage behavior.
func (RawMessage) MarshalJSON ¶
func (m RawMessage) MarshalJSON() ([]byte, error)
func (*RawMessage) UnmarshalJSON ¶
func (m *RawMessage) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.