i made my own version of [json V] of @list that supports all types, inspired by another post i saw a while back (that i can’t remember the name of..), plus a dev version that supports ADTs using a field named _to_string
normal: Snap! Build Your Own Blocks
Snap! beta: Snap! Build Your Own Blocks
feedback is appreciated!
please note, this is NOT a proper serializer, please don’t expect it to work as one!
relatively large update, most types are now saved as objects rather than basic strings, which also means you get more info from them now. this change carries over to ADTs as well, where ADTs will always be "ADT": {"type": "__"}, with an optional "data": "..." pair if the given ADT has a _to_string method