ToJSON converts the DGeography to JSON.
(maxDecimalDigits int)
| 3411 | |
| 3412 | // ToJSON converts the DGeography to JSON. |
| 3413 | func (d *DGeography) ToJSON(maxDecimalDigits int) (json.JSON, error) { |
| 3414 | return spatialObjectToJSON(d.Geography.SpatialObject(), maxDecimalDigits) |
| 3415 | } |
| 3416 | |
| 3417 | // DGeometry is the Geometry Datum. |
| 3418 | type DGeometry struct { |
nothing calls this directly
no test coverage detected