toJSON on par with toString
Jan. 14th, 2010 04:48 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I've been thinking lately... say, you are writing a pojo, and it is a good practice to have a good toString(), right? How about toJSON/fromJSON? seems like it would be a good idea to have it everywhere as well, what do you think?
no subject
Date: 2010-01-15 03:28 am (UTC)