17
17
* Acknowledgement: This project is supported by US National Institute of Health (NIH)
18
18
grant `U24-NS124027 <https://reporter.nih.gov/project-details/10308329 >`_
19
19
20
- .. image :: https://github.com/fangq /jsonlab/actions/workflows/run_test.yml/badge.svg
21
- :target: https://github.com/fangq /jsonlab/actions/workflows/run_test.yml
20
+ .. image :: https://github.com/NeuroJSON /jsonlab/actions/workflows/run_test.yml/badge.svg
21
+ :target: https://github.com/NeuroJSON /jsonlab/actions/workflows/run_test.yml
22
22
23
23
#################
24
24
Table of Contents
@@ -125,7 +125,7 @@ included in the official distributions of Debian Bullseye and Ubuntu 21.04 or ne
125
125
- 2023-04-21 [49eceb0] Fix typo not found by codespell
126
126
- 2023-04-21 [75b1fdc] Fix typos found by codespell
127
127
- 2023-04-17 [8fea393] revert savejson change
128
- - 2023-04-17 [9554a44] Merge branch 'master' of github.com:fangq /jsonlab
128
+ - 2023-04-17 [9554a44] Merge branch 'master' of github.com:NeuroJSON /jsonlab
129
129
- 2023-04-17 [3c32aff] speed up string encoding and decoding
130
130
- 2023-04-09*[8c8464f] rename jamm files to pmat - portable mat, will add jsonmmap
131
131
- 2023-04-09 [aa1c2a4] drop ubuntu-18.04
@@ -491,7 +491,7 @@ loadjson.m
491
491
492
492
% if a URL is provided, loadjson reads JSON data from the URL and return the parsed results,
493
493
% similar to webread, except loadjson calls jdatadecode to decode JData annotations
494
- dat=loadjson('https://raw.githubusercontent.com/fangq /jsonlab/master/examples/example1.json')
494
+ dat=loadjson('https://raw.githubusercontent.com/NeuroJSON /jsonlab/master/examples/example1.json')
495
495
496
496
% using the 'BuildinJSON' flag, one can use the built-in jsondecode.m in MATLAB (R2016+)
497
497
% or Octave (7.0+) to parse the JSON data for better speed, note that jsondecode encode
@@ -503,10 +503,10 @@ loadjson.m
503
503
dat=loadjson('{"obj":{"an object with a key longer than 63":"value","array":[1,2,3]}}', 'UseMap', 1)
504
504
505
505
% loadjson can further download the linked data pointed by _DataLink_ tag, and merge with the parent
506
- dat=loadjson('{"obj":{"_DataLink_":"https://raw.githubusercontent.com/fangq /jsonlab/master/examples/example1.json"},"array":[1,2]}','maxlinklevel',1)
506
+ dat=loadjson('{"obj":{"_DataLink_":"https://raw.githubusercontent.com/NeuroJSON /jsonlab/master/examples/example1.json"},"array":[1,2]}','maxlinklevel',1)
507
507
508
508
% a JSONPath can be attached to the URL to retrieve a sub element
509
- dat=loadjson('{"obj":{"_DataLink_":"https://raw.githubusercontent.com/fangq /jsonlab/master/examples/example1.json:$.address.city"},"array":[1,2]}','maxlinklevel',1)
509
+ dat=loadjson('{"obj":{"_DataLink_":"https://raw.githubusercontent.com/NeuroJSON /jsonlab/master/examples/example1.json:$.address.city"},"array":[1,2]}','maxlinklevel',1)
510
510
511
511
% loadjson can optionally return a JSON-memory-map object, which defines each JSON element's
512
512
% memory buffer offset and length to enable disk-map like fast read/write operations
@@ -777,7 +777,7 @@ jsoncache.m
777
777
[cachepath, filename] = jsoncache('https://neurojson.org/io/stat.cgi?action=get&db=openneuro&doc=ds000001&file=sub-01/anat/sub-01_inplaneT2.nii.gz&size=669578')
778
778
779
779
% this searches CACHEFOLDER{i}/raw.githubusercontent.com/55/d2, and the filename is 55d24a4bad6ecc3f5dc4d333be728e01c26b696ef7bc5dd0861b7fa672a28e8e.json
780
- [cachepath, filename] = jsoncache('https://raw.githubusercontent.com/fangq /jsonlab/master/examples/example1.json')
780
+ [cachepath, filename] = jsoncache('https://raw.githubusercontent.com/NeuroJSON /jsonlab/master/examples/example1.json')
781
781
782
782
% this searches cachefolder{i}/io/adhd200/Brown folder, and look for file Brown.json
783
783
[cachepath, filename] = jsoncache('https://neurojson.io:7777/adhd200/Brown')
@@ -1047,15 +1047,15 @@ following command:
1047
1047
1048
1048
.. code :: shell
1049
1049
1050
- git clone https://github.com/fangq /jsonlab.git jsonlab
1050
+ git clone https://github.com/NeuroJSON /jsonlab.git jsonlab
1051
1051
1052
1052
or browsing the github site at
1053
1053
1054
- https://github.com/fangq /jsonlab
1054
+ https://github.com/NeuroJSON /jsonlab
1055
1055
1056
1056
Please report any bugs or issues to the below URL:
1057
1057
1058
- https://github.com/fangq /jsonlab/issues
1058
+ https://github.com/NeuroJSON /jsonlab/issues
1059
1059
1060
1060
Sometimes, you may find it is necessary to modify JSONLab to achieve your
1061
1061
goals, or attempt to modify JSONLab functions to fix a bug that you have
@@ -1068,7 +1068,7 @@ clicking on the "fork" button on top-right of JSONLab's github page. Once you fo
1068
1068
jsonlab to your own directory, you should then implement the changes in your
1069
1069
own fork. After thoroughly testing it and you are confident the modification
1070
1070
is complete and effective, you can then click on the "New pull request"
1071
- button, and on the left, select fangq /jsonlab as the "base". Then type
1071
+ button, and on the left, select NeuroJSON /jsonlab as the "base". Then type
1072
1072
in the description of the changes. You are responsible to format the code
1073
1073
updates using the same convention (tab-width: 8, indentation: 4 spaces) as
1074
1074
the upstream code.
0 commit comments