We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a61e51 commit 2073f81Copy full SHA for 2073f81
src/io/files.js
@@ -17,7 +17,10 @@ var fetchJsonp = require('fetch-jsonp');
17
require('../core/error_helpers');
18
19
/**
20
- * Loads a JSON file from a file or a URL, and returns an Object or Array.
+ * Loads a JSON file from a file or a URL, and returns an Object.
21
+ * Note that even if the JSON file contains an Array, an Object will be
22
+ * returned with index numbers as keys.
23
+ *
24
* This method is asynchronous, meaning it may not finish before the next
25
* line in your sketch is executed. JSONP is supported via a polyfill and you
26
* can pass in as the second argument an object with definitions of the json
0 commit comments