Re: [json-lib-user] why is JSONObject declared as final?
Brought to you by:
aalmiray
From: Andres A. <aal...@ya...> - 2008-11-05 20:40:09
|
Brec, JSONObject is final because it follows the design of the original code (json.org), I believe you're the first one encountering frustration because of this decision (which is not final, no pun intended). Why would you be required to create wrappers for JSONObject instances in the first place? aren't the serialization options provided by the library enough to get you up to speed? Cheers, Andres ------------------------------------------- http://jroller.com/aalmiray http://www.linkedin.com/in/aalmiray -- What goes up, must come down. Ask any system administrator. There are 10 types of people in the world: Those who understand binary, and those who don't. To understand recursion, we must first understand recursion. ________________________________ From: Brec Carson <br...@6s...> To: jso...@li... Sent: Tuesday, November 4, 2008 2:12:47 PM Subject: [json-lib-user] why is JSONObject declared as final? Why is JSONObject declared as final? I just "upgraded" to this json library from it's root library. A decision that was forced on me by virtue of using couchdb4j (no offense meant to couchdb4j, that library seems perfectly well designed and I think also frustrated by this design decision in the json-lib). I am immediately met w/ the frustration of needing to completely redesign my entities to be dumb wrappers around a JSONObject instead of an intuitive extension of one. What gives? I can think of no good reason for this. As this is a trivial change to make, is there any hope that a new build can be put out for this? From my previous experience dealing with open source I already know that I'm shouting at the rain here and it won't do me any good but I still feel the need to do it. Sorry for the mini-rant. Brec Carson ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ json-lib-user mailing list jso...@li... https://lists.sourceforge.net/lists/listinfo/json-lib-user |