Fork me on GitHub
#transit
<
2023-03-01
>
Alex Miller (Clojure team)15:03:03

what does "seems to interpret" mean

Alex Miller (Clojure team)15:03:16

I assume you ran some code and got some result

Alex Miller (Clojure team)15:03:58

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

wevrem18:03:08

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.

emccue18:03:53

so i was doodling on this site

emccue19:03:37

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

emccue19:03:24

what I assume now is that invalid input is undefined behavior

wevrem21:03:06

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)22:03:37

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