I just realized this is because JSONObject doesn't override equals. Maybe it should?
On Fri, Jun 05, 2009 at 01:10:30PM -0400, D. Stuart Freeman wrote: > Should it hold that if we have two JSONObjects, j and k, that if > j.toString().equals(k.toString()) then j.equals(k)? I ask because I've > found that it's possible to create JSONObjects where that isn't the case. > Here's a quick, minimal example I worked up: > http://pastebin.com/f12de25b9 > > -- > D. Stuart Freeman > Georgia Institute of Technology -- D. Stuart Freeman Georgia Institute of Technology
signature.asc
Description: Digital signature