public static String JsonFromFeatureClass(EsriFeatureClass featureClass)
      throws JsonGenerationException, JsonMappingException, IOException {
    return jsonObjectMapper.writeValueAsString(featureClass);
  }
Create JSON from an {@link EsriFeatureClass}

@param featureClass feature class to convert to JSON
@return JSON string representing the given feature class
@throws com.fasterxml.jackson.core.JsonGenerationException
@throws com.fasterxml.jackson.databind.JsonMappingException
@throws java.io.IOException
ql/src/java/org/apache/hadoop/hive/ql/io/esriJson/EsriJsonFactory.java