Re: [json-lib-user] First impressions
Brought to you by:
aalmiray
From: Tim P. <tim...@ou...> - 2009-05-19 16:28:35
|
Hi Andres, On Tuesday 19 May 2009 16:28:26 Andres Almiray wrote: > Hi Tim, > > Thank you for checking out Json-lib, we hope it proves to be helpful to > you. Now answers to your questions: > > > "JSONObject uses a HashMap for its properties > representation because the order of its properties is not important." > - this is no longer true, as a matter of fact JSONObject uses a > LinkedHashMap to preserver insertion order, the FAQ must be updated. Have > in mind that the JSON semantics still declare a JSONObject to be a Bag, per > the spec. Good, I thought so, as I had looked at the code and saw you were now preserving insertion order. > " What is the relationship to json.org?" > - Json-lib was born from the code found at json.org and evolved from there. Yes, but Mr Crockford is not actually a developer on this project? I think it is important to spell out clearly whether this is a derived project or one that is actively developed by the originators of JSON. [snip - ant usage] > "Oh, I forgot, the main problem, which prompted me to join the list, > is that the optional setting on the xom jar caused me to have a runtime > error reported by a user. " > - an optional dependency means you don't need to download it in order to > use the library, however you must download it in order to compile one part > of the library (xml support). yes, I know what it means, now, after it caused me pain. I see the use of optional for the ORO library, but not for XOM you have askd be to read your POM and determine whether I need to manuall include the XOM jar. This is not the Maven way. I am happy to download enormous numbers of jars that I may or may not need, I am not happy having to make decisions about it. I think removing optional on the XOM jar would be good. > Cheers, > Andres cheers and thanks for your library Tim |