Improvments to getJSObject #1566

merged 2 commits into from Oct 5, 2012
Commits on Oct 5, 2012
  1. Improvments to getJSObject

    okonomiyaki3000 committed Oct 5, 2012
    	Resources are ignored
    	Object keys and strings are encoded with json_encode
    	If the input array contains (php) objects, their values are used for recursion rather than the objects themselves (the function takes an array, not an object)
    	Less string concatenation, more array implosion