Documentation ¶
Index ¶
- func ToJSON(sn schema.Node, node datanode.DataNode) []byte
- func ToRFC7951(sn schema.Node, node datanode.DataNode) []byte
- func ToXML(sn schema.Node, node datanode.DataNode) []byte
- func UnmarshalJSON(sn schema.Node, json_input []byte) (datanode.DataNode, error)
- func UnmarshalJSONWithoutValidation(sn schema.Node, cfgOrState ConfigOrState, json_input []byte) (datanode.DataNode, error)
- func UnmarshalRFC7951(sn schema.Node, json_input []byte) (datanode.DataNode, error)
- func UnmarshalRFC7951WithoutValidation(sn schema.Node, json_input []byte) (datanode.DataNode, error)
- func UnmarshalXML(sn schema.Node, xml_input []byte) (datanode.DataNode, error)
- type ConfigOrState
- type EncType
- type JSONReader
- type JSONWriter
- type Unmarshaller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalJSON ¶
func UnmarshalRFC7951 ¶
Types ¶
type JSONReader ¶
type JSONReader struct {
// contains filtered or unexported fields
}
type JSONWriter ¶
func (*JSONWriter) CurrentModuleName ¶
func (jw *JSONWriter) CurrentModuleName() string
func (*JSONWriter) PopName ¶
func (jw *JSONWriter) PopName()
type Unmarshaller ¶
type Unmarshaller interface { SetValidation(schema.ValidationType) Unmarshaller Unmarshal(sn schema.Node, input []byte) (datanode.DataNode, error) }
func NewUnmarshaller ¶
func NewUnmarshaller(enc EncType) Unmarshaller
Click to show internal directories.
Click to hide internal directories.