public static <T> T readValue(String content, Class<T> valueType) {
        Preconditions.checkNotNull(content);
        Preconditions.checkNotNull(valueType);
        try {
            return getMapper().readValue(content, valueType);
        } catch (final JsonProcessingException e) {
            throw new RuntimeException(String.format("Error deserialising object %s %s",
                    content, e.getMessage()), e);
        }
    }
Serialise object to the file described by path
stroom-util/src/main/java/stroom/util/json/JsonUtil.java