Okay, I am saving files in a json file which which unlike a db that has an auto-increment function.
Say I have this object.
public book() {
id = ?????
Title = mTitle;
}
How can you make the id to give you an unique int number? is that possible? Thanks in advance.