Cutting Down Bandwidth with JSON Alternatives

Dou­glas Crock­ford wrote RFC 4627, describ­ing the spec­i­fi­ca­tions for JSON, a “text for­mat for seri­al­iza­tion of struc­tured data.” As a language-agnostic, human-readable open for­mat that has native sup­port for encoding/decoding in browsers, JSON has become the de facto stan­dard for data seri­al­iza­tion on the web. There are draw­backs to using JSON, which became evi­dent when we started to write a net­worked game using Web­Sock­ets. (Check out our pre-alpha teaser if you didn’t get a chance to see us at PAX!)

Con­tinue read­ing

Eric Li

Eric Li is a devel­oper at Gra­di­ent Stu­dios. He stud­ied com­puter graph­ics in school and spe­cial­izes in real­is­tic ren­der­ing tech­niques, but also has his hands in every­thing from net­work­ing to physics. When not wield­ing the pix­els, he is a foodie who enjoys trance and throw­ing Frisbees.

More PostsTwit­ter