in reply to Re^2: Javascript in your JSON
in thread Javascript in your JSON

I think it's really easy to confuse/conflate Javascript object literal notation with JSON - they're not the same thing.

-derby

Update: hmmm ... well that was vague. JSON is a subset of Javascript object literal notation that's used for *DATA* exchange. That's why if want to pass around function definitions in JSON, you'll need to de-stringify them - basically subverting the concept of JSON being just for *DATA* exchange.