Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

JSON Metadata Wizard

I'm trying to get this json file templated ->
http://aws.amazon.com/ec2/pricing/json/rhel-ri-heavy.json
However when I attempt to walk it through the wizard it gives me this error
"File is not found or the json format is incorrect"
Even though
1) I can't see anything wrong with it
2) I validated it against these two sites -> http://jsonformatter.curiousconcept.com/ & http://jsonlint.com/
Which both say it's valid.
I'm able to reproduce this in 5.3.1 and 5.4 rc1.
Thoughts?
Labels (4)
5 Replies
Anonymous
Not applicable
Author

Hi,
Could you please paste your json file into forum so that we can take a testing for you.
Best regards
Sabrina
Anonymous
Not applicable
Author

The file is longer than the post allows... but here is a snipet.
I use curl to pull it down -> curl http://aws.amazon.com/ec2/pricing/json/rhel-ri-heavy.json >riec2pricing.json
{
"vers": 0.01,
"config": {
"currencies": ,
"valueColumns": ,
"regions":
},
{
"size": "med",
"valueColumns":
},
{
"size": "lg",
"valueColumns":
},
{
"size": "xl",
"valueColumns":
}
],
"type": "stdResI"
},
{
"sizes":
},
{
"size": "xxl",
"valueColumns":
}
],
"type": "secgenstdResI"
},
{
"sizes":
}
],
"type": "uResI"
},
{
"sizes":
},
{
"size": "xxl",
"valueColumns":
},
{
"size": "xxxxl",
"valueColumns":
}
],
"type": "hiMemResI"
},
{
"sizes":
},
{
"size": "xl",
"valueColumns":
}
],
"type": "hiCPUResI"
},
{
"sizes":
},
{
"size": "xxxxxxxxl",
"valueColumns":
}
],
"type": "clusterCompResI"
},
{
"sizes":
}
],
"type": "clusterHiMemResI"
},
{
"sizes":
}
],
"type": "clusterGPUResI"
},
{
"sizes":
}
],
"type": "hiIoResI"
},
{
"sizes":
}
],
"type": "hiStoreResI"
}
]
},
]
}
}
Anonymous
Not applicable
Author

Hi,
Sorry for delay.
For the validation process, we are first to convert JSON to XML file and then parsing the XML file.
I have taken a testing for your case, but the issue still repro.
Could you please open a jira issue of DI project on Talend Bug Tracker, our developer will see if there is a workaround.
Note: Please set the issue type as "WorkItem".
Best regards
Sabrina
Anonymous
Not applicable
Author

Is it solved?
Anonymous
Not applicable
Author

Hi,
I have the same problem with parsing the ":" in the JSON object that i receive.
Example:
{
"dcterms 0683p000009MAB6.pngublisher": {
"dcterms:identifier": "at.swql.sprint",
"dcterms:title": "Project Lyo"
}
}
The "dcterms 0683p000009MAB6.pngublisher" for example won't be parsed correctly although it is found between double quotes, so if i changed the JSON to:
{
"dctermspublisher": {
"dctermsidentifier": "at.swql.sprint",
"dctermstitle": "Project Lyo"
}
}
Then it will work properly.