Re: GSoC 2020: jsondecode status

Kai Torben Ohlhus <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <[email protected]>
On 7/19/20 4:06 AM, Abdallah Elshamy wrote:
> [...] I made a "standalone" repo [1] that contains only the files I
> am working on.
> I moved the files with the commits (I thought it is a good idea to keep
> the history of the commits I made in Octave's repo) to this new repo. I
> also moved all the issues from Octave's repo to the new repo. I
> mentioned that also in my new weekly report [2].
> 

Looks good to me.

> Regarding using cell2struct [3], I think that in order to use it to
> convert our cell of objects into a struct array, We will need a
> considerable overhead in creating the "right" cell for conversion. Thus,
> I think we should go with the current custom code. What do you think ?
> 

Yes, last Friday, I did not regard, that "cell2struct" has to know about
the correct field names.  Maybe your custom code with detection is
better suited for this purpose.


> Best Regards,
> Abdallah
> 
> [1] https://github.com/Abdallah-Elshamy/Octave-GSoC-JSON
> [2] https://abdallahshamy.wordpress.com/2020/07/18/coding-period-report-7/
> [3] https://octave.sourceforge.io/octave/function/cell2struct.html

Kai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.