I'm building API extension that takes complex objects as parameters.
The API exporer does a brilliant job at parsing the objects, but drush less so.
Commands I am trying are:
`drush @contact cvapi Contact.getclif sequential=1 return="id" clif={"type":"raw","params":{"5":1,"6":1}} length=5`
`drush @contact cvapi Contact.getclif sequential=1 return="id" clif='{"type":"raw","params":{"5":1,"6":1}}' length=5`
Both fail to json_decode the object and my API method receives a JSON string.
I could decode the string in my API - but that feels a little hacky...
Am I doing something wrong?