class JsonFactory {

    public static JsonValue readFrom(final String jsonString) {
        requireNonNull(jsonString, "The JSON string to read from must not be null!");
        if (jsonString.isEmpty()) {
            throw new JsonParseException("The JSON string to read from must not be empty!");
        }

        return JsonValueParser.fromString().apply(jsonString);
    }

    private  JsonFactory();

}