[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53100] implement jsondecode, jsonencode funct
From: |
Qianqian Fang |
Subject: |
[Octave-bug-tracker] [bug #53100] implement jsondecode, jsonencode functions |
Date: |
Fri, 31 May 2019 18:05:52 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36 |
Follow-up Comment #13, bug #53100 (project octave):
Just found this thread. Glad that someone is working on a builtin JSON
encoder/decoder for Octave. My JSONLab toolbox
(http://github.com/fangq/jsonlab), as mentioned by the OP, does work for
Octave, but the speed to encode/decode large sized JSON data is horrific on
Octave.
I just want to mention a JSON-base complex data encoding scheme - JData
specification - that I have been working on. Most of these were derived from
the encoding method I already used in my JSONLab toolbox, but generalized
significantly. Happy to hear if you have any feedback/suggestions/thoughts
http://github.com/fangq/jdata
more background info can be found in this post
https://mailarchive.ietf.org/arch/msg/json/z7cUcdABZSS_sgvhVExWUW5y1Yc
I also want to point out jsonencode/jsondecode in MATLAB do not support
saving/loading complex/sparse arrays, as well as some other complex data
structures. I noticed that starting from MATLAB R2018a, matlab production
server (mps) includes a more complex JSON encoder/decoder
https://www.mathworks.com/help/mps/restfuljson/json-representation-of-matlab-data-types.html
it also uses annotated struct mwtype/mwsize/mwdata to encode complex data,
almost exactly like what I did in JSONLab and JData.
anyways, happy to hear if you have any thoughts on this project.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?53100>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #53100] implement jsondecode, jsonencode functions,
Qianqian Fang <=