agave-metadata/metadata-core/src/test/java/org/iplantc/service/metadata/uuid/MetadataItemUUIDEntityUpdateIT.java
/**
     * Serialize the entity into a JSON string. This should be handled by the standard
     * {@link ObjectMapper} via Jackson Annotations.
     *
     * @param testEntity entity to serialize
     * @return serialized json representation of the entity
     */
Serialize the entity into a JSON string. This should be handled by the standard
ObjectMapper via Jackson Annotations.

@param testEntity entity to serialize
@return serialized json representation of the entity
Serialize the entity into a JSON string . This should be handled by the standard ObjectMapper via Jackson Annotations . @param testEntity entity to serialize @return serialized json representation of the entity
@Override
    public String serializeEntityToJSON(MetadataItem testEntity) {
        String json = null;
        json = testEntity.toObjectNode().toString();
        try {
            json = mapper.writeValueAsString(testEntity);
            json = testEntity.toObjectNode().toString();
        } catch (JsonProcessingException e) {
            Assert.fail("Failed to serialize metadata item", e);
        }
        return json;
    }
@ Override public String serializeEntityToJSON ( MetadataItem testEntity ) { String json = null ; json = testEntity . toObjectNode ( ) . toString ( ) ; return json ; }
Serialize the entity into a JSON string.
Serialize the entity into a JSON string .
// //        try { ////            json = mapper.writeValueAsString(testEntity); //            json = testEntity.toObjectNode().toString(); //        } catch (JsonProcessingException e) { //            Assert.fail("Failed to serialize metadata item", e); //        }