Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map not supported #74

Open
leonbloy opened this issue Jun 23, 2022 · 2 comments
Open

Map not supported #74

leonbloy opened this issue Jun 23, 2022 · 2 comments

Comments

@leonbloy
Copy link

leonbloy commented Jun 23, 2022

It would be nice that the Map object were supported

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map

https://stackoverflow.com/questions/29085197/how-do-you-json-stringify-an-es6-map

@GabenGar
Copy link

GabenGar commented Oct 6, 2022

What would be its output representation? An array of tuples?

@hildjj
Copy link

hildjj commented Jan 13, 2023

Suggested output format:

new Map([[key, value]...)

This way the output can be used as code to rehydrate if desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants