Skip to content

Commit 4d8cfe5

Browse files
committed
1.03
Better SDMX-JSON support (series format added)
1 parent 1051e2c commit 4d8cfe5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

dist/main.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsonstat-explorer",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "An interactive viewer for JSON-stat/CSV-stat/SDMX-JSON responses or documents.",
55
"scripts": {
66
"build": "webpack --mode=production",
@@ -31,8 +31,8 @@
3131
"babel-plugin-add-module-exports": "^1.0.4",
3232
"babel-plugin-react-html-attrs": "^2.1.0",
3333
"babel-plugin-transform-class-properties": "^6.24.1",
34-
"jsonstat-suite": "^3.1.6",
35-
"jsonstat-toolkit": "^1.2.7",
34+
"jsonstat-suite": "^3.2.0",
35+
"jsonstat-toolkit": "^1.3.1",
3636
"react": "17.0.2",
3737
"react-dom": "17.0.2",
3838
"webpack": "^5.28.0",

src/components/XHRUtils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const fetchJsonStat=function(that, loadData, method, url, query, text){
3737
//SDMX-JSON? v.0.2.0
3838
if(json.hasOwnProperty("structure") && json.hasOwnProperty("dataSets") //Could also be a weird JSON-stat bundle
3939
&& Array.isArray(json.dataSets) && json.dataSets.length===1 //Only support for 1 dataset
40-
&& json.dataSets[0].hasOwnProperty("observations")//Only flat flavor is supported (no series) (better look for dataset with "action": "Information"?)
4140
){
4241
json=fromSDMX(json);
4342
type="SDMX-JSON";

0 commit comments

Comments
 (0)