Skip to content

reviver for toJS #388

Open
Open
@jardakotesovec

Description

@jardakotesovec

I am using custom reviver with fromJS, which detects arrays with object having id property which I turn into OrderedMap instead of default List, which is very useful for traversing large JSON structures. Now I need to make the conversion other way round (OrderedMap -> array), but toJS does not support reviver.

Could be this considered as feature request? Or is there trick I can use?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions