civicrm/civicrm-core — pull request #1256 by totten (2013-07-26 19:07:09+00:00)
Title: CRM-13121 - CRM.api - Always encode data with JSON

The query-string encoder misencodes empty arrays -- and most likely
misencodes other things. I'm not sure why one would ever prefer the
query-string encoder over the JSON encoder.

Ping @TechToThePeople @colemanw

----------------------------------------
* CRM-13121: CRM.api cannot call "replace" with empty list
http://issues.civicrm.org/jira/browse/CRM-13121