I have a custom object that I would like to save in the datastore(not the blobstore).
Something like
Entity.setProperty("myobj", custonObject)
I have a list of users within this customObject
public user class{
String name;
String age;
}
public user_s class{
List<user> userList;
public user_s(){
userList = new ArrayList<user>();
}
}
I would then like to save user_s.
I guess I need some serialization, if at all possible. I can see that there is a Blob class in the datastore, but how do you use it?
https://developers.google.com/appengine/docs/java/datastore/entities
Regards
Yes, there is a
Blobclass.Serialization is simple: