//UnmarshalJSON decodes the node from a json
UnmarshalJSON decodes the node from a json
// UnmarshalJSON decodes the node from a json
func (c *ColumnNode) UnmarshalJSON(data []byte) error {
	m := &ColumnNode{}
	err := json.Unmarshal(data, m)
	if err != nil {
		return err
	}
	c.UID = m.UID
	c.Word = []rune(m.Word)
	c.PUID = m.PUID
	c.Name = m.Name
	c.Children = m.Children
	c.Resolved = m.Resolved
	c.Dimension = m.Dimension
	c.Measure = m.Measure
	c.AggregationFn = m.AggregationFn
	c.DataType = m.DataType
	c.Description = m.Description
	c.DateFormat = m.DateFormat
	return nil
}
func ( c * ColumnNode ) UnmarshalJSON ( data [ ] byte ) error { m := & ColumnNode { } err := json . Unmarshal ( data , m ) if err != nil { return err } c . UID = m . UID c . Word = [ ] rune ( m . Word ) c . PUID = m . PUID c . Name = m . Name c . Children = m . Children c . Resolved = m . Resolved c . Dimension = m . Dimension c . Measure = m . Measure c . AggregationFn = m . AggregationFn c . DataType = m . DataType c . Description = m . Description c . DateFormat = m . DateFormat return nil }
UnmarshalJSON decodes the node from a json
UnmarshalJSON decodes the node from a json