Open Remi-Gau opened 2 years ago
Check if JSONio fails on this too.
That works for me with jsondecode
from MATLAB R2021a and Octave and with JSONio. Which version are you using?
Also, I agree this is a valid JSON file but isn't it a bit odd for a fieldname?
"CsaSeries.MrPhoenixProtocol.asCoilSelectMeas[0].aFFT_SCALE[10].flFactor": 0.0419083
Which version are you using?
Matlab 2017a
Also, I agree this is a valid JSON file but isn't it a bit odd for a fieldname?
"CsaSeries.MrPhoenixProtocol.asCoilSelectMeas[0].aFFT_SCALE[10].flFactor": 0.0419083
I don't decide how DICOM headers happen. :-p
OK, I can confirm the issue: jsondecode
was introduced in R2016b and it crashes with this JSON file in R2016b and R2017a. It's OK from R2017b onwards.
Thanks a bunch for cross checking this.
Will add it in the doc.
very edge case
from https://openneuro.org/datasets/ds003216/versions/2.1.5/
json_file: ds003216/sub-02/ses-02/func/sub-02_ses-02_task-tapping_run-05_cbv.json
Many warning and eventually this error
File content: added as txt