Effect CommunityEC
Effect Communityβ€’2y agoβ€’
8 replies
deeplaysit

Serializing Maps to JSON in TypeScript Using e/schema or e/data

maps and json in ts/js are so annoying - is there a nice way to use schema/data to serialise arbitrary objects that may contain maps into json? ideally using the e/schema serialisation I guess (array of tuples)

articles like this are just depressing πŸ˜„

https://www.geeksforgeeks.org/how-to-convert-map-to-json-in-typescript/
Was this page helpful?