Use NSDictionary and NSArray (root object would be a nsdict), make a filter for the keys and return the nsdict in the response.
Envoyé de mon iPhone Le 2012-10-12 à 04:09, "Robert Hanviriyapunt" <[email protected]> a écrit : > 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/probert%40macti.ca > > 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]
