forked from sccn/EEG-BIDS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:sccn/bids-matlab-tools
- Loading branch information
Showing
8 changed files
with
47 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
JSONio: a MATLAB JSON library | ||
Copyright (c) 2015-2019 Guillaume Flandin <[email protected]> | ||
JSONio: a MATLAB/Octave JSON library | ||
Copyright (c) 2015-2021 Guillaume Flandin <[email protected]> | ||
|
||
The MIT License (MIT) | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,34 @@ | ||
JSONio: a MATLAB/Octave JSON library | ||
==================================== | ||
# JSONio: a MATLAB/Octave JSON library | ||
|
||
https://www.artefact.tk/software/matlab/jsonio/ | ||
|
||
JSONio is a MATLAB/Octave library to read/write data in the JSON (JavaScript Object Notation) data-interchange format. | ||
JSONio is a MATLAB/Octave library to read/write data in the JSON (JavaScript Object Notation) data-interchange format. | ||
|
||
* JSON: https://www.json.org/ | ||
* JSON: https://www.json.org/ | ||
|
||
It relies on the JSON parser jsmn written by Serge Zaitsev: | ||
It relies on the JSON parser jsmn written by [Serge Zaitsev](https://zserge.com/): | ||
|
||
* jsmn: https://zserge.com/jsmn.html | ||
* jsmn: https://zserge.com/jsmn/ | ||
|
||
This library is also part of SPM: | ||
This library is also part of SPM: | ||
|
||
* SPM: https://www.fil.ion.ucl.ac.uk/spm/ | ||
* SPM: https://www.fil.ion.ucl.ac.uk/spm/ | ||
|
||
INSTALLATION | ||
------------ | ||
## INSTALLATION | ||
|
||
Simply add the JSONio directory to the MATLAB path: | ||
Simply add the JSONio directory to the MATLAB path: | ||
|
||
```matlab | ||
addpath /home/login/Documents/MATLAB/JSONio | ||
``` | ||
|
||
A compiled MEX file is provided for 64-bit MATLAB platforms. It needs to be compiled for Octave with: | ||
A compiled MEX file is provided for 64-bit MATLAB platforms. It needs to be compiled for Octave with: | ||
``` | ||
mkoctfile --mex jsonread.c jsmn.c -DJSMN_PARENT_LINKS | ||
``` | ||
|
||
EXAMPLE | ||
------- | ||
## EXAMPLE | ||
|
||
```matlab | ||
json = jsonread(filename) | ||
jsonwrite(filename, json) | ||
``` | ||
|
||
------------------------------------------------------------------------------- | ||
Copyright (C) 2015-2020 Guillaume Flandin <[email protected]> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters