transit 2023-03-01

Alex Miller (Clojure team) 2023-03-01T15:33:03.078829Z

what does "seems to interpret" mean

Alex Miller (Clojure team) 2023-03-01T15:33:16.175519Z

I assume you ran some code and got some result

Alex Miller (Clojure team) 2023-03-01T15:35:58.982309Z

the transit format spec says is the string tag and will be followed by a single char. # is special for a tag. ~ by itself is not a thing afaik

How would transit ever see “”? If the string “” is being sent, it gets escaped to ““. Otherwise the handlers and emitters should be spitting out valid tags.

so i was doodling on this site

and just toying around with what would happen on "invalid" input

what I assume now is that invalid input is undefined behavior

It’s interesting. I don’t think transit (in the Java implementation) has checks for empty string tags (it does check for tags of length 1), and unable to find a registered handler, it just default to wrapping it up in the generic TaggedValue.

Alex Miller (Clojure team) 2023-03-01T22:21:37.093249Z

why does it hurt when I put my hand on the stove? :)