Also, and this is kind of redundant, there is a mime type for json:
application/json. So, if you're feeling particularly anal, you can do:

<cfcontent type="application/json" reset="yes">...

Dominic

2009/8/12 Dominic Watson <watson.domi...@googlemail.com>

> You can use array notation for your structure keys here. So:
>
> <cfset LOCAL.retVal.page = 1>
>
> Becomes:
>
> <cfset LOCAL.retVal['page'] = 1 >
>
> Using array notation in this only way AFAIK to force the case of your keys
> (CF will uppercase them otherwise).
>
> Dominic
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325417
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to