Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodingXML ¶
type EncodingXML struct { }
EncodingXML implements the Encoding interface for the XML encoding
func NewEncodingXML ¶
func NewEncodingXML() *EncodingXML
NewEncodingXML creates a new NewEncodingXML instance
func (*EncodingXML) Marshal ¶
func (e *EncodingXML) Marshal(v interface{}) ([]byte, error)
Marshal converts the given value to YAML byte
func (*EncodingXML) Unmarshal ¶
func (e *EncodingXML) Unmarshal(b []byte, v interface{}) error
Unmarshal converts the given YAML byte to value
func (*EncodingXML) UnmarshalToMap ¶
func (e *EncodingXML) UnmarshalToMap(b []byte) (map[string]interface{}, error)
UnmarshalToMap converts the json string to a map
Click to show internal directories.
Click to hide internal directories.