func (c *Card) MarshalJSON() ([]byte, error) {
	card := &jsCard{
		ID:      c.ID,
		ModelID: c.ThemeModelID(),
		Context: c.Context,
	}
	return json.Marshal(card)
}
// MarshalJSON marshals a Card for the benefit of javascript context in HTML
// templates.
MarshalJSON marshals a Card for the benefit of javascript context in HTML
templates.
// MarshalJSON marshals a Card for the benefit of javascript context in HTML // templates .
func (c *Card) MarshalJSON() ([]byte, error) {
	card := &jsCard{
		ID:      c.ID,
		ModelID: c.ThemeModelID(),
		Context: c.Context,
	}
	return json.Marshal(card)
}
func ( c * Card ) MarshalJSON ( ) ( [ ] byte , error ) { card := & jsCard { ID : c . ID , ModelID : c . ThemeModelID ( ) , Context : c . Context , } return json . Marshal ( card ) }
MarshalJSON marshals a Card for the benefit of javascript context in HTML
templates.
MarshalJSON marshals a Card for the benefit of javascript context in HTML templates .