pub fn to_json<W: Write>( data: *mut u8, shape_desc: ShapeDesc, writer: &mut W, indent: bool, ) -> Result<()>
Serializes any Shapely type to JSON