Timeline for How do you JSON.stringify an ES6 Map?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 23, 2023 at 15:09 | comment | added | Stefnotch | There's a much easier way of serializing Maps and Sets to JSON, since JSON.stringify and JSON.parse have a second argument that lets you add custom rules. See my answer for an answer that correctly round-trips in all cases. | |
Oct 7, 2022 at 19:18 | history | edited | Mr. Polywhirl | CC BY-SA 4.0 |
deleted 5 characters in body
|
Oct 7, 2022 at 16:38 | history | edited | Mr. Polywhirl | CC BY-SA 4.0 |
added 1035 characters in body
|
Oct 7, 2022 at 16:29 | history | edited | Mr. Polywhirl | CC BY-SA 4.0 |
added 1035 characters in body
|
Oct 7, 2022 at 16:16 | history | answered | Mr. Polywhirl | CC BY-SA 4.0 |