agave-common/common-api/src/main/java/org/iplantc/service/common/representation/jackson/JacksonRepresentation.java
/**
     * Creates a Jackson object mapper based on a media type. By default, it
     * calls {@link ObjectMapper#ObjectMapper()}.
     * 
     * @return The Jackson object mapper.
     */
Creates a Jackson object mapper based on a media type.

@return The Jackson object mapper.
Creates a Jackson object mapper based on a media type . @return The Jackson object mapper .
protected ObjectMapper createObjectMapper() {
    	ObjectMapper mapper = null;
    	JsonFactory factory = new JsonFactory();
		factory.configure(Feature.AUTO_CLOSE_TARGET, false);
		mapper = new ObjectMapper(factory);
        mapper.enable(SerializationFeature.INDENT_OUTPUT);
		mapper.enable(SerializationFeature.FAIL_ON_EMPTY_BEANS);
		mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
		return mapper;
    }
protected ObjectMapper createObjectMapper ( ) { ObjectMapper mapper = null ; JsonFactory factory = new JsonFactory ( ) ; factory . configure ( Feature . AUTO_CLOSE_TARGET , false ) ; mapper = new ObjectMapper ( factory ) ; mapper . enable ( SerializationFeature . INDENT_OUTPUT ) ; mapper . enable ( SerializationFeature . FAIL_ON_EMPTY_BEANS ) ; mapper . disable ( SerializationFeature . WRITE_DATES_AS_TIMESTAMPS ) ; return mapper ; }
Creates a Jackson object mapper based on a media type.
Creates a Jackson object mapper based on a media type .