you mean to say
@Serialised
public class City implements Serialisable {
private string name;
private string id;
// getter setter
}
List<City> list = somemethod();
Objectify obj = ObjectifyService.begin();
obj.put(list);
So the above code will be able to put list object as serialised object in
datastore and will be able to get back as
List<City> list = obj.get(City.class);
Am i right ?
On Wed, Nov 23, 2011 at 1:46 AM, Simon Knott <[email protected]> wrote:
> Just annotate it as @Serialized
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/X7FiDN1gWMkJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
--
Deepak Singh
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.