I just discovered a neat hack in Douglas Crockford‘s popular json2 parser/serializer which obviates the need for any server side support. So simple, yet so effective. Check out the first line of http://www.json.org/json2.js:
alert('IMPORTANT: Remove this line from json2.js before deployment.');[/sourcecode]
Be the first to write a comment.