class JsonValueBuilder {

    public static JsonValue toJsonValue(String json) throws JsonException {
        try {
            return new JsonValue(MAPPER.readValue(json, Map.class));
        } catch (IOException e) {
            throw new JsonException("Failed to parse json", e);
        }
    }

    private  JsonValueBuilder();

}