//UnmarshalJSON decodes the node from a json
UnmarshalJSON decodes the node from a json
// UnmarshalJSON decodes the node from a json
func (t *TimeNode) UnmarshalJSON(data []byte) error {
	m := &timeNode{}
	err := json.Unmarshal(data, m)
	if err != nil {
		return err
	}
	t.UID = m.UID
	t.Word = []rune(m.Word)
	t.PUID = m.PUID
	t.Resolved = m.Resolved
	t.Value = m.Value
	return nil
}
func ( t * TimeNode ) UnmarshalJSON ( data [ ] byte ) error { m := & timeNode { } err := json . Unmarshal ( data , m ) if err != nil { return err } t . UID = m . UID t . Word = [ ] rune ( m . Word ) t . PUID = m . PUID t . Resolved = m . Resolved t . Value = m . Value return nil }
UnmarshalJSON decodes the node from a json
UnmarshalJSON decodes the node from a json