[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternati
From: |
anonymous |
Subject: |
[Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json |
Date: |
Thu, 16 Dec 2021 13:37:04 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 |
Follow-up Comment #49, patch #9980 (project octave):
I have upload new 'fromJSON' and 'toJSON': "fromJSON_v2_7.m" and
"toJSON_v2_7.m"
On both, I fixed bug, tweaked feature, refactored a little to clean and speed
up the code, add more tests, and updated help text.
In the process of fixing the bug noted before, I realize that I had
tunnel-vision in focusing on parsing numerical dataset. As such, I made some
minor feature change in how SARRAY effects parsing arrays. So now 'fromJSON'
can more safely parse JSON like those found in Seamonkey profile. This is not
to say it will replicate 'jsondecode' output, but rather 'fromJSON' will not
mangle the output.
Additionally, for the naive user, I updated the HELP text to more clearly
emphasize the preferred use-case for 'fromJSON' and 'toJSON', namely the focus
on dealing with numerical arrays, Inf, and complex numbers which are neglected
by JSON spec and "other" JSON parser.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?9980>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2021/12/01
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2021/12/03
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2021/12/13
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2021/12/14
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json,
anonymous <=
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2021/12/16
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2021/12/18
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2021/12/18
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2021/12/18
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2021/12/21
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2021/12/21
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2021/12/21
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, anonymous, 2021/12/22
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Kai Torben Ohlhus, 2021/12/22
- [Octave-patch-tracker] [patch #9980] JSON encoder and decoder, alternative to object2json, Philip Nienhuis, 2021/12/28