// MarshalJSON implements the encoding/json Marshaler interface. It will return
// the GeoJSON encoded representation of p, or "null" if p is null.
MarshalJSON implements the encoding/json Marshaler interface. It will return
the GeoJSON encoded representation of p, or "null" if p is null.
// MarshalJSON implements the encoding / json Marshaler interface . It will return // the GeoJSON encoded representation of p or " null " if p is null .
func (p SFPolygon) MarshalJSON() ([]byte, error) {
	if !p.Valid {
		return []byte("null"), nil
	}
	return p.Polygon.MarshalJSON()
}
func ( p SFPolygon ) MarshalJSON ( ) ( [ ] byte , error ) { if ! p . Valid { return [ ] byte ( " " ) , nil } return p . Polygon . MarshalJSON ( ) }
MarshalJSON implements the encoding/json Marshaler interface.
MarshalJSON implements the encoding / json Marshaler interface .