public static String geometryToJson ( SpatialReference spatialReference , Geometry geometry ) { OperatorExportToJson exporter = ( OperatorExportToJson ) factory . getOperator ( Operator . Type . ExportToJson ) ; return exporter . execute ( spatialReference , geometry ) ; }
Exports the specified geometry instance to it s JSON representation . M and Z values are not imported from JSON representation .