public static String geometryToJson ( int wkid , Geometry geometry ) { return GeometryEngine . geometryToJson ( wkid > 0 ? SpatialReference . create ( wkid ) : null , geometry ) ; }
Exports the specified geometry instance to it s JSON representation .