rsanchez / json

Output ExpressionEngine data in JSON format.
http://devot-ee.com/add-ons/json/
101 stars 234 forks source link

Clean keys should return the whole arrays not one item :-) #14

Closed GDmac closed 12 years ago

GDmac commented 12 years ago

Rob, you left out that "by reference" (BTW a trick that i didn't really knew/used before. Learning from your code :-) ) foreach( $arrays as &$blah){}

rsanchez commented 12 years ago

I think i'm gonna re-do all of this and have the aliases go into the sql query itself, which should perform better than changing the keys after the fact.

GDmac commented 12 years ago

first pull, then destroy :-)