Skip to content

Commit

Permalink
fix issues #34 #39 #44 and #45, support double-quited strings
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jul 12, 2018
1 parent 474d8c8 commit 34284c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions savejson.m
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@
txt=struct2json(name,item,level,varargin{:});
elseif(ischar(item))
txt=str2json(name,item,level,varargin{:});
elseif(isa(item,'string'))
txt=str2json(name,item{:},level,varargin{:});
elseif(isobject(item))
txt=matlabobject2json(name,item,level,varargin{:});
else
Expand Down

0 comments on commit 34284c7

Please sign in to comment.