Comments and changes to this ticket

This is my fast fix, without using the native parser. Without
that fix ff3.1b2pre throws an error: "redeclaration of const JSON"
and the whole script breaks.

I know, it's not very elegant, but it works: Instead of:

var JSON = new Hash({
//decleration of encode and decode
});

Write this:

if (JSON === undefined) {
//I don't want to make JSON a global so I decided to write window.JSON
//I think there isn't much difference, but I don't like globals
window.JSON = new Hash();
}
$extend(JSON, {
//decleration of encode and decode
});

mootools 1.3 should support the native parser-methods, stringify
and parse and use the native implementations if available as Jan
already suggests.