Skip to content

Suggested update - function handles #51

Closed
@will-hill

Description

@will-hill

Hi Fang,
I find this project useful for a current project. Below is a change I made that you might find helpful. I needed to serialize/deserialize function handles in Octave. I do not know if it will work with Matlab.

182c182,185
< else
---
> elseif(is_function_handle(item))
> function_handle_struct = functions(item);
> txt=struct2json(name,function_handle_struct,level,varargin{:});
> elseif(ismatrix(item))
183a187,188
> else
> error('what is this object type?');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions