File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 105105rootisarray= 0 ;
106106rootlevel= 1 ;
107107forceroot= jsonopt(' ForceRootName' ,0 ,opt );
108- if ((isnumeric(obj ) || islogical(obj ) || ischar(obj ) || isstruct(obj ) || iscell(obj )) && isempty(rootname ) && forceroot == 0 )
108+ if ((isnumeric(obj ) || islogical(obj ) || ischar(obj ) || isstruct(obj ) || ...
109+ iscell(obj ) || isobject(obj )) && isempty(rootname ) && forceroot == 0 )
109110 rootisarray= 1 ;
110111 rootlevel= 0 ;
111112else
Original file line number Diff line number Diff line change 9393rootisarray= 0 ;
9494rootlevel= 1 ;
9595forceroot= jsonopt(' ForceRootName' ,0 ,opt );
96- if ((isnumeric(obj ) || islogical(obj ) || ischar(obj ) || isstruct(obj ) || iscell(obj )) && isempty(rootname ) && forceroot == 0 )
96+ if ((isnumeric(obj ) || islogical(obj ) || ischar(obj ) || isstruct(obj ) || ...
97+ iscell(obj ) || isobject(obj )) && isempty(rootname ) && forceroot == 0 )
9798 rootisarray= 1 ;
9899 rootlevel= 0 ;
99100else
You can’t perform that action at this time.
0 commit comments