Skip to content

Commit e9eb724

Browse files
author
fangq
committed
update version to 1.1
git-svn-id: http://svn.code.sf.net/p/iso2mesh/code/trunk/jsonlab@491 786e58fb-9377-0410-9ff7-e4ac0ac0635c
1 parent 875f483 commit e9eb724

File tree

2 files changed

+48
-18
lines changed

2 files changed

+48
-18
lines changed

ChangeLog.txt

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,35 @@
66

77
JSONlab ChangeLog (key features marked by *):
88

9+
== JSONlab 1.1 (codename: Optimus - Update 1), FangQ <fangq (at) nmr.mgh.harvard.edu> ==
10+
11+
2015/05/05 *massively accelerating loadjson for parsing large collection of unstructured small objects
12+
2015/05/05 force array bracket in 1x1 struct to maintain depth (Issue#1)
13+
2015/05/05 parse logicals in loadjson
14+
2015/05/05 make options case insensitive
15+
2015/05/01 reading unicode encoded json files (thanks to Sertan Senturk,Issue#3)
16+
2015/04/30 allow \uXXXX to represent a unicode in a string (Issue#2)
17+
2015/03/30 save a 0x0 solid real empty array as null and handel empty struct array
18+
2015/03/30 properly handle escape characters in a string
19+
2015/01/24 *implement the UBJSON Draft12 new name format
20+
2015/01/13 correct cell array indentation inconsistency
21+
922
== JSONlab 1.0 (codename: Optimus - Final), FangQ <fangq (at) nmr.mgh.harvard.edu> ==
1023

11-
2015/01/02 polish help info for all major functions, update examples, finalize 1.0
12-
2014/12/19 fix a bug to strictly respect NoRowBracket in savejson
24+
2015/01/02 polish help info for all major functions, update examples, finalize 1.0
25+
2014/12/19 fix a bug to strictly respect NoRowBracket in savejson
1326

1427
== JSONlab 1.0.0-RC2 (codename: Optimus - RC2), FangQ <fangq (at) nmr.mgh.harvard.edu> ==
1528

16-
2014/11/22 show progress bar in loadjson ('ShowProgress')
17-
2014/11/17 add Compact option in savejson to output compact JSON format ('Compact')
18-
2014/11/17 add FastArrayParser in loadjson to specify fast parser applicable levels
19-
2014/09/18 start official github mirror: https://github.com/fangq/jsonlab
29+
2014/11/22 show progress bar in loadjson ('ShowProgress')
30+
2014/11/17 *add Compact option in savejson to output compact JSON format ('Compact')
31+
2014/11/17 add FastArrayParser in loadjson to specify fast parser applicable levels
32+
2014/09/18 *start official github mirror: https://github.com/fangq/jsonlab
2033

2134
== JSONlab 1.0.0-RC1 (codename: Optimus - RC1), FangQ <fangq (at) nmr.mgh.harvard.edu> ==
2235

2336
2014/09/17 fix several compatibility issues when running on octave versions 3.2-3.8
24-
2014/09/17 support 2D cell and struct arrays in both savejson and saveubjson
37+
2014/09/17 *support 2D cell and struct arrays in both savejson and saveubjson
2538
2014/08/04 escape special characters in a JSON string
2639
2014/02/16 fix a bug when saving ubjson files
2740

@@ -31,7 +44,7 @@ JSONlab ChangeLog (key features marked by *):
3144

3245
== JSONlab 0.9.8-1 (codename: Optimus - alpha update 1), FangQ <fangq (at) nmr.mgh.harvard.edu> ==
3346

34-
2013/10/07 better round-trip conservation for empty arrays and structs (patch submitted by Yul Kang)
47+
2013/10/07 better round-trip conservation for empty arrays and structs (patch submitted by Yul Kang)
3548

3649
== JSONlab 0.9.8 (codename: Optimus - alpha), FangQ <fangq (at) nmr.mgh.harvard.edu> ==
3750
2013/08/23 *universal Binary JSON (UBJSON) support, including both saveubjson and loadubjson

README.txt

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
*Copyright (C) 2011-2015 Qianqian Fang <fangq at nmr.mgh.harvard.edu>
77
*License: BSD or GNU General Public License version 3 (GPL v3), see License*.txt
8-
*Version: 1.0 (Optimus - Final)
8+
*Version: 1.1 (Optimus - Update 1)
99

1010
-------------------------------------------------------------------------------
1111

@@ -94,7 +94,7 @@ JSON. The detailed help info for the four functions can be found below:
9494
http://www.mathworks.com/matlabcentral/fileexchange/20565
9595
created on 2008/07/03
9696

97-
$Id: loadjson.m 452 2014-11-22 16:43:33Z fangq $
97+
$Id: loadjson.m 487 2015-05-06 18:19:07Z fangq $
9898

9999
input:
100100
fname: input file name, if fname contains "{}" or "[]", fname
@@ -147,7 +147,7 @@ JSON. The detailed help info for the four functions can be found below:
147147
author: Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
148148
created on 2011/09/09
149149

150-
$Id: savejson.m 458 2014-12-19 22:17:17Z fangq $
150+
$Id: savejson.m 486 2015-05-05 20:37:11Z fangq $
151151

152152
input:
153153
rootname: the name of the root-object, when set to '', the root name
@@ -228,7 +228,7 @@ JSON. The detailed help info for the four functions can be found below:
228228
authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
229229
created on 2013/08/01
230230

231-
$Id: loadubjson.m 436 2014-08-05 20:51:40Z fangq $
231+
$Id: loadubjson.m 487 2015-05-06 18:19:07Z fangq $
232232

233233
input:
234234
fname: input file name, if fname contains "{}" or "[]", fname
@@ -245,6 +245,11 @@ JSON. The detailed help info for the four functions can be found below:
245245
in the UBJSON input data. B - Big-Endian format for
246246
integers (as required in the UBJSON specification);
247247
L - input integer fields are in Little-Endian order.
248+
opt.NameIsString [0|1]: for UBJSON Specification Draft 8 or
249+
earlier versions (JSONLab 1.0 final or earlier),
250+
the "name" tag is treated as a string. To load
251+
these UBJSON data, you need to manually set this
252+
flag to 1.
248253

249254
output:
250255
dat: a cell array, where {...} blocks are converted into cell arrays,
@@ -272,7 +277,7 @@ JSON. The detailed help info for the four functions can be found below:
272277
author: Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
273278
created on 2013/08/17
274279

275-
$Id: saveubjson.m 440 2014-09-17 19:59:45Z fangq $
280+
$Id: saveubjson.m 465 2015-01-25 00:46:07Z fangq $
276281

277282
input:
278283
rootname: the name of the root-object, when set to '', the root name
@@ -338,7 +343,7 @@ will see the conversions from MATLAB data structure to JSON text and backward.
338343
In "jsonlab_selftest.m", we load complex JSON files downloaded from the Internet
339344
and validate the loadjson/savejson functions for regression testing purposes.
340345
Similarly, a "demo_ubjson_basic.m" script is provided to test the saveubjson
341-
and loadubjson pairs for various matlab data structures.
346+
and loadubjson functions for various matlab data structures.
342347

343348
Please run these examples and understand how JSONLab works before you use
344349
it to process your data.
@@ -371,24 +376,36 @@ V. Contribution and feedback
371376
JSONLab is an open-source project. This means you can not only use it and modify
372377
it as you wish, but also you can contribute your changes back to JSONLab so
373378
that everyone else can enjoy the improvement. For anyone who want to contribute,
374-
please download JSONLab source code from it's subversion repository by using the
379+
please download JSONLab source code from its source code repositories by using the
375380
following command:
376381

382+
git clone https://github.com/fangq/jsonlab.git jsonlab
383+
384+
or browsing the github site at
385+
386+
https://github.com/fangq/jsonlab
387+
388+
alternatively, if you prefer svn, you can checkout the latest code by using
389+
377390
svn checkout svn://svn.code.sf.net/p/iso2mesh/code/trunk/jsonlab jsonlab
378391

379392
You can make changes to the files as needed. Once you are satisfied with your
380393
changes, and ready to share it with others, please cd the root directory of
381394
JSONLab, and type
382395

396+
git diff --no-prefix > yourname_featurename.patch
397+
398+
or
399+
383400
svn diff > yourname_featurename.patch
384401

385402
You then email the .patch file to JSONLab's maintainer, Qianqian Fang, at
386403
the email address shown in the beginning of this file. Qianqian will review
387404
the changes and commit it to the subversion if they are satisfactory.
388405

389-
We appreciate any suggestions and feedbacks from you. Please use iso2mesh's
390-
mailing list to report any questions you may have with JSONLab:
406+
We appreciate any suggestions and feedbacks from you. Please use the following
407+
mailing list to report any questions you may have regarding JSONLab:
391408

392-
http://groups.google.com/group/iso2mesh-users?hl=en&pli=1
409+
https://groups.google.com/forum/?hl=en#!forum/jsonlab-users
393410

394411
(Subscription to the mailing list is needed in order to post messages).

0 commit comments

Comments
 (0)