But, “some languages will accept ...” of course, is never the way that one should go. JSON modules, in various languages, were designed to be universal – and, above all, safe. (JSON started out, in the younger, more naïve days of the Internet, as, “let’s just eval the string! ‘Efficient,’ huh?”) Heh. You can afford the couple extra bytes, on whatever platforms and languages you might be using, to use a supplied, standard package to do the work for you. (Especially on the wild-and-wooly JavaScript side!)
| |