> Also matter of opinion, and of experience. Apart from the fact that > my use of jQuery amounts to a few weeks out of a (mumble)-year > programming career, no I don't use pure JSON for it - Javascript > object literals, yes, but not pure JSON.
It's not just you. The claim that people regularly pass JSON strings within JS frameworks is comical; it would be about as smart as passing serialized PHP vars between PHP functions. > I *want* my PHP arrays to look different from my Javascript/JSON > arrays, especially as I might be looking at both as part of the same > project -- I *want* a big data structure to scream "I'm PHP" or "I'm > Javascript/JSON" at me, to help trigger my brain into the right > programming mode. +1 -- S. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php