And I think I found another issue:
<cffunction name="list" access="remote" output="false" returnType="array"
returnformat="json" *jsoncase="maintain"*>
JSON Keys are always returned lowercase, no matter if I declare
jsoncase="maintain" or not.
Regards
- Louis
Am Dienstag, 25. Dezember 2012 20:48:25 UTC+1 schrieb Alan Williamson:
>
> are you using the nightly build?
>
> On 25/12/2012 14:41, Louis Brauer wrote:
>
> Hi there
>
> I'm trying to declare a function in CFSCRIPT with the returnformat
> attribute like this (OpenBD 2.0.2):
>
> remote function list() returnformat="json" { ... }
>
> Doesn't work, data is always returned in WDDX. I suppose the *
> returnformat* attribute (despite all others) is not supported in
> CFSCRIPT. Can anyone confirm this?
>
> Best regards
> - Louis
>
>
>
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>
>
>
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en