[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GSoC 2020: jsondecode status

From: Abdallah Elshamy
Subject: GSoC 2020: jsondecode status
Date: Wed, 8 Jul 2020 20:05:02 +0200

Hello everyone,

I have finished the first draft for jsondecode [1] function on my github repo [2]. I have also added a few test cases [3] (I verified that they work on MATLAB online). The function now passes all the test cases.

Right now, the function is treated as an external *.oct file. The integration of the code into Octave's build system will be done at the end of the project. I transformed the test suite into Octave-compatible test files that can be found in "test/json" directory [4].

If you have any ideas for improvements, please let me know. I am waiting for your feedback and suggestions.

A good idea that was suggested by the author of JSONio [5] was to add a "ReplacementStyle" option [6] when creating a structure's field name. What do you think about this?

Thanks for your time,

[1] https://www.mathworks.com/help/matlab/ref/jsondecode.html
[2] https://github.com/Abdallah-Elshamy/octave/blob/json/libinterp/corefcn/jsondecode.cc
[3] https://github.com/Abdallah-Elshamy/octave/commit/933e6ff0b47fb85e7cbe72b30bcd1660eb86deff
[4] https://github.com/Abdallah-Elshamy/octave/tree/json/test/json
[5] https://github.com/Abdallah-Elshamy/octave/issues/5
[6] https://www.mathworks.com/help/matlab/ref/matlab.lang.makevalidname.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]