Skip to content

Commit

Permalink
[bug] fix typo in tojson function
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Sep 29, 2024
1 parent 7cd46ea commit 07399df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jdict.m
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@

function val = tojson(obj, varargin)
% printing underlying data to compact-formed JSON string
val = obj.call_('jsonpath', '', obj.data, 'compact', 1, varargin{:});
val = obj.call_('savejson', '', obj.data, 'compact', 1, varargin{:});
end

function obj = fromjson(obj, fname, varargin)
Expand Down

0 comments on commit 07399df

Please sign in to comment.