//UnmarshalJSON decodes the node from a json
UnmarshalJSON decodes the node from a json
// UnmarshalJSON decodes the node from a json
func (t *TableNode) UnmarshalJSON(data []byte) error {
	m := &tableNode{}
	err := json.Unmarshal(data, m)
	if err != nil {
		return err
	}
	t.UID = m.UID
	t.Word = []rune(m.Word)
	t.PUID = m.PUID
	t.Name = m.Name
	t.Children = m.Children
	t.Resolved = m.Resolved
	t.DefaultDateFieldUID = m.DefaultDateFieldUID
	t.DefaultDateField = m.DefaultDateField
	t.Description = m.Description
	t.DatastoreID = m.DatastoreID
	return nil
}
func ( t * TableNode ) UnmarshalJSON ( data [ ] byte ) error { m := & tableNode { } err := json . Unmarshal ( data , m ) if err != nil { return err } t . UID = m . UID t . Word = [ ] rune ( m . Word ) t . PUID = m . PUID t . Name = m . Name t . Children = m . Children t . Resolved = m . Resolved t . DefaultDateFieldUID = m . DefaultDateFieldUID t . DefaultDateField = m . DefaultDateField t . Description = m . Description t . DatastoreID = m . DatastoreID return nil }
UnmarshalJSON decodes the node from a json
UnmarshalJSON decodes the node from a json