diff --git a/loadubjson.m b/loadubjson.m index 20a2f07..355b667 100644 --- a/loadubjson.m +++ b/loadubjson.m @@ -133,7 +133,7 @@ parse_char('}'); end if(isstruct(object)) - object=struct2jdata(object,'Base64',0); + object=struct2jdata(object,struct('Base64',0)); end %%-------------------------------------------------------------------------