joomla/joomla-platform — pull request #1434 by okonomiyaki3000 (2012-08-06 04:22:03+00:00)
Title: JhtmlBehavior - improve  _getJSObject

This function has several flaws which I think I've solved. I think that with a little more work I can eliminate it entirely as json_encode() should be used whenever possible.