immutable-js/immutable-js

reviver for toJS

Open

#388 ouverte le 14 mars 2015

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)TypeScript (1 774 forks)batch import
API-improvementenhancementhelp wanted

Métriques du dépôt

Stars
 (33 046 stars)
Métriques de merge PR
 (Merge moyen 12j 22h) (20 PRs mergées en 30 j)

Description

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!

Guide contributeur