diff --git a/ImportJSON.gs b/ImportJSON.gs index 731806e..3369328 100644 --- a/ImportJSON.gs +++ b/ImportJSON.gs @@ -67,7 +67,7 @@ * * @return a two-dimensional array containing the data, with the first row containing headers **/ -function ImportJSON(url, query, parseOptions) { +function ImportJSON(url, query, parseOptions, recalc) { return ImportJSONAdvanced(url, null, query, parseOptions, includeXPath_, defaultTransform_); } @@ -108,6 +108,7 @@ function ImportJSON(url, query, parseOptions) { * @param {fetchOptions} a comma-separated list of options used to retrieve the JSON feed from the URL * @param {query} a comma-separated list of paths to import. Any path starting with one of these paths gets imported. * @param {parseOptions} a comma-separated list of options that alter processing of the data + * @param {recalc} [optional] a cell reference that allows the ImportJSON() to be re-loaded when changed. * @customfunction * * @return a two-dimensional array containing the data, with the first row containing headers