in reply to JSON::XS and escaping literal strings
Slashes are not illegal or in need of escape in JSON. Perhaps you mean in URIs? If every single toolkit does things a certain way, it's pretty safe to assume they're in the right.