On 4/25/2017 10:59 PM, Justin Mclean wrote:
Hi,

Depending on the version of CF you are using you can make CFC return JSON easily

Either specify returnFormat=“JSON” in the method or append returnformat=json to 
the URL query string, CF then handles all of the conversation for you, that may 
be an easier way to go.
Sorry if I confused things by mentioning CF. Oleg was using Java; not ColdFusion. I was just trying to parallel my experience; since they are both the same thing "under the hood."

I didn't think you could add returnFormat="JSON" to a CFC method while still supporting AMF calls; but don't think I've actually tried it.


--
Jeffry Houser
Technical Entrepreneur
http://www.jeffryhouser.com
203-379-0773

Reply via email to