private @NonNull File writeTmpJSONFile(@NonNull JSONObject object) throws AlgoliaException {
        return writeTempFile(object.toString());
    }
private @NonNull File writeTmpJSONFile(@NonNull JSONObject object) throws AlgoliaException {
        return writeTempFile(object.toString());
    }
private @ NonNull File writeTmpJSONFile ( @ NonNull JSONObject object ) throws AlgoliaException { return writeTempFile ( object . toString ( ) ) ; }
Write a temporary file containing a JSON object.

@param object JSON object to write.
@return Path to the created file.
@throws AlgoliaException
Write a temporary file containing a JSON object .