function [out, varargout] = deserializeHelper(in, varargin)
%

%   Copyright 2016 The MathWorks, Inc.

if ~nargin
    return;
end
if isnumeric(in) && ~isscalar(in)
    out = mlsparkdeserialize(in);
else
    out = in;
end

if nargin > 1
    varargout = cellfun(@deserializeHelper, varargin, 'UniformOutput', false);
end
