File tree 9 files changed +9
-9
lines changed
9 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 44
44
% please set FormatVersion to 1
45
45
%
46
46
% output:
47
- % newdata: the covnerted data if the input data does contain a JData
47
+ % newdata: the converted data if the input data does contain a JData
48
48
% structure; otherwise, the same as the input.
49
49
%
50
50
% examples:
Original file line number Diff line number Diff line change 18
18
% JSON/JData file will be expected; if the suffix is '.pmat' or
19
19
% '.jdb', a Binary JData file will be expected.
20
20
% opt: (optional) a struct to store parsing options, opt can be replaced by
21
- % a list of ('param',value) pairs - the param string is equivallent
21
+ % a list of ('param',value) pairs - the param string is equivalent
22
22
% to a field in opt. opt can have the following
23
23
% fields (first in [.|.] is the default)
24
24
%
Original file line number Diff line number Diff line change 16
16
% JSON/JData file will be created (slow); if the suffix is '.pmat' or
17
17
% '.jdb', a Binary JData (https://github.com/NeuroJSON/bjdata/) file will be created.
18
18
% opt: (optional) a struct to store parsing options, opt can be replaced by
19
- % a list of ('param',value) pairs - the param string is equivallent
19
+ % a list of ('param',value) pairs - the param string is equivalent
20
20
% to a field in opt. opt can have the following
21
21
% fields (first in [.|.] is the default)
22
22
%
Original file line number Diff line number Diff line change 21
21
% fname: input file name, if fname contains "{}" or "[]", fname
22
22
% will be interpreted as a BJData/UBJSON string
23
23
% opt: a struct to store parsing options, opt can be replaced by
24
- % a list of ('param',value) pairs - the param string is equivallent
24
+ % a list of ('param',value) pairs - the param string is equivalent
25
25
% to a field in opt. opt can have the following
26
26
% fields (first in [.|.] is the default)
27
27
%
Original file line number Diff line number Diff line change 22
22
% fname: input file name; if fname contains "{}" or "[]", fname
23
23
% will be interpreted as a JSON string
24
24
% opt: (optional) a struct to store parsing options, opt can be replaced by
25
- % a list of ('param',value) pairs - the param string is equivallent
25
+ % a list of ('param',value) pairs - the param string is equivalent
26
26
% to a field in opt. opt can have the following
27
27
% fields (first in [.|.] is the default)
28
28
%
Original file line number Diff line number Diff line change 16
16
% be read, otherwise, this function will attempt to parse the
17
17
% string in fname as a UBJSON stream
18
18
% opt: a struct to store parsing options, opt can be replaced by
19
- % a list of ('param',value) pairs - the param string is equivallent
19
+ % a list of ('param',value) pairs - the param string is equivalent
20
20
% to a field in opt. The supported options can be found by typing
21
21
% "help loadbj".
22
22
%
Original file line number Diff line number Diff line change 131
131
% the input data before saving
132
132
%
133
133
% opt can be replaced by a list of ('param',value) pairs. The param
134
- % string is equivallent to a field in opt and is case sensitive.
134
+ % string is equivalent to a field in opt and is case sensitive.
135
135
% output:
136
136
% bjd: a binary string in the UBJSON format (see http://ubjson.org)
137
137
%
Original file line number Diff line number Diff line change 110
110
% this function falls back to the jsonlab savejson
111
111
%
112
112
% opt can be replaced by a list of ('param',value) pairs. The param
113
- % string is equivallent to a field in opt and is case sensitive.
113
+ % string is equivalent to a field in opt and is case sensitive.
114
114
% output:
115
115
% json: a string in the JSON format (see http://json.org)
116
116
%
Original file line number Diff line number Diff line change 38
38
% opt can have the following fields (first in [.|.] is the default)
39
39
%
40
40
% opt can be replaced by a list of ('param',value) pairs. The param
41
- % string is equivallent to a field in opt and is case sensitive.
41
+ % string is equivalent to a field in opt and is case sensitive.
42
42
%
43
43
% Please type "help savebj" for details for all supported options.
44
44
%
You can’t perform that action at this time.
0 commit comments