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.
338343In "jsonlab_selftest.m", we load complex JSON files downloaded from the Internet
339344and validate the loadjson/savejson functions for regression testing purposes.
340345Similarly, 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
343348Please run these examples and understand how JSONLab works before you use
344349it to process your data.
@@ -371,24 +376,36 @@ V. Contribution and feedback
371376JSONLab is an open-source project. This means you can not only use it and modify
372377it as you wish, but also you can contribute your changes back to JSONLab so
373378that 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
375380following 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
379392You can make changes to the files as needed. Once you are satisfied with your
380393changes, and ready to share it with others, please cd the root directory of
381394JSONLab, and type
382395
396+ git diff --no-prefix > yourname_featurename.patch
397+
398+ or
399+
383400 svn diff > yourname_featurename.patch
384401
385402You then email the .patch file to JSONLab's maintainer, Qianqian Fang, at
386403the email address shown in the beginning of this file. Qianqian will review
387404the 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