//MarshalJSON encodes the node into a serializable json
MarshalJSON encodes the node into a serializable json
// MarshalJSON encodes the node into a serializable json
func (k *KnowledgeBaseNode) MarshalJSON() ([]byte, error) {
	return json.Marshal(&knowledgebaseNode{
		k.UID, string(k.Word), k.Name, k.Children, k.Resolved, "KnowledgeBase", k.Description, k.KBType,
	})
}
func ( k * KnowledgeBaseNode ) MarshalJSON ( ) ( [ ] byte , error ) { return json . Marshal ( & knowledgebaseNode { k . UID , string ( k . Word ) , k . Name , k . Children , k . Resolved , " " , k . Description , k . KBType , } ) }
MarshalJSON encodes the node into a serializable json
MarshalJSON encodes the node into a serializable json