Skip to content

Commit 949409f

Browse files
author
Mark Cafaro
committed
Fixed issue with string conversion in json deserialization
1 parent a55b8b3 commit 949409f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/matlab/+symphonyui/+core/CoreObject.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ function tryCore(obj, call) %#ok<INUSL>
171171
elseif ~isempty(regexp(v, '^\s*(?:\[.+\])|(?:\{.+\})\s*$', 'once'))
172172
try %#ok<TRYNC>
173173
v = loadjson(v);
174+
if iscell(v)
175+
v = cellfun(@convertStringsToChars, v, 'UniformOutput', false);
176+
end
174177
end
175178
end
176179
end

0 commit comments

Comments
 (0)