From 07399df0c52c2f7f036a050bd9ef008378ec0b00 Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Sun, 29 Sep 2024 16:19:56 -0400 Subject: [PATCH] [bug] fix typo in tojson function --- jdict.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdict.m b/jdict.m index 9c2ee04..890c9da 100644 --- a/jdict.m +++ b/jdict.m @@ -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)