I assume the main upside would be less need to create json decoders/encoders? It would work just like sending stuff through a port?
The only thing that wouldn't serialize well, is functions, which could just be silently ignored when encoding (this is what JSON.stringify does) Also, one wouldn't really need to invent yet another data format. One could use something like Transit for this (which is a format on top of JSON, with a couple of cool stuff like caching). -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
