have you set up your rest routes?

you can return whatever data you like from your controller, you just get the 
preferred format, being json for this example.




On Oct 12, 2012, at 3:35 AM, Robert Hanviriyapunt <[email protected]> wrote:

> How do I make ERRest format json output to this?
> 
> {    
>    response:{
>       status:0,
>       startRow:0,
>       endRow:76,
>       totalRows:546,
>       data:[
>           {field1:"value", field2:"value"},
>           {field1:"value", field2:"value"},
>           ...
>       ]
>    }
> }
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to