Skip to content

Commit

Permalink
allow linking binary jdata files inside json
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jun 11, 2023
1 parent 2d0649b commit 6cb5f12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jdatadecode.m
Original file line number Diff line number Diff line change
Expand Up @@ -483,11 +483,11 @@
case {'.json','.jnii','.jdt','.jdat','.jmsh','.jnirs'}
newdata=loadjson(uripath, opt);
case {'.bjd' ,'.bnii','.jdb','.jbat','.bmsh','.bnirs', '.pmat'}
newdata=loadbj(uripath, opt);
newdata=loadbj(uripath, opt, 'Base64', 0);
case {'.ubj'}
newdata=loadubjson(uripath, opt);
newdata=loadubjson(uripath, opt, 'Base64', 0);
case {'.msgpack'}
newdata=loadmsgpack(uripath, opt);
newdata=loadmsgpack(uripath, opt, 'Base64', 0);
case {'.h5','.hdf5','.snirf'} % this requires EasyH5 toolbox
newdata=loadh5(uripath, opt);
otherwise
Expand Down

0 comments on commit 6cb5f12

Please sign in to comment.