Better JSON

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!

wait this is cool~

I like it, but I think the text costumes is unnecessary – you could use a normal text representation:

yeah, but it’s also just an example for how it can interact with morphs, so i don’t think it’s that big of a deal

no, it really isn’t a big deal. just because

:slight_smile:

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

:eyes:
image
(not released yet)

man, i’m just having too much fun with this!
image
it’s almost done..