javascript

RISON, a compact JSON specially suited for URIs

 - Tagged as

I was looking for a way to efficiently pass data between cross-domain iframes using the location hash trick. The first thing that I checked was JSON but the payload gets huge when url encoded, then I tried with base64 encoding which helps but not very much. Finally I found RISON which in short is nothing more than a reformulation of JSON's control characters to make them more URI friendly.Read more