// MarshalJSON implements the Marshaler interface for Bool
MarshalJSON implements the Marshaler interface for Bool
// MarshalJSON implements the Marshaler interface for Bool
func (n Bool) MarshalJSON() ([]byte, error) {
	if !n.N.Valid {
		return []byte("null"), nil
	}
	return json.Marshal(n.N.Bool)
}
func ( n Bool ) MarshalJSON ( ) ( [ ] byte , error ) { if ! n . N . Valid { return [ ] byte ( " " ) , nil } return json . Marshal ( n . N . Bool ) }
MarshalJSON implements the Marshaler interface for Bool
MarshalJSON implements the Marshaler interface for Bool