[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GSoC 2020: jsondecode status
From: |
Kai Torben Ohlhus |
Subject: |
Re: GSoC 2020: jsondecode status |
Date: |
Mon, 20 Jul 2020 15:30:10 +0900 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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