atuttle/Taffy — Issue #72: POST argumentCollection as JSONObject
Author: chair9design
Created: 2012-01-20 19:29:32+00:00
State: open

I needed the ability to post an argument collection as a serialized JSON object. By adding to api.cfc (~line280) the following lines it allows this to be possible as CF takes care of the rest when the method is invoked. De-serializing the JSON string creates the ColdFusion structure that can be automatically translated to the ARGUMENTS scope when the method is invoked.

This might fix the mocker.cfm issue of not being able to post the json object. We usually do this to post a jsonObj representing an argumentCollection via jQuery

```javascript
data: { argumentCollection : myArgumentObj }
```

Sorry if this was already planned, checked through the open and closed issues, but didn't see anything related to POST for this capability. Seemed like this was added in 1.1 for the de-serialization PUT params.

So far it's working great.