Posts Tagged ‘JJSon’

JJSon: Bugfix release out and new stuff in trunk

Thursday, April 2nd, 2009

This early morning I uploaded a new JJSon version (0.0.3). It resolves the first and only issue with the lib: unfortunatly I created the jar with Java 6 bytecode. Well, my newly created POM file will prevent me for errors like this in future. From nowon JJSon is a Maven 2 project. Get the new jar at JJSon’s Googlecode page.

Motivated by the 100 downloads I started to create the Annotation encoder yesterday night. Its very basic and doesn’t contain good testcases at the moment, but at first glance it works :-) You can serialize Java Objects into a JSon string with that stuff. Supported are the usual json types, except double (sorry, forgot that). List and Maps can be serialized too, aswell as annotated pojos.

I will add the double and some more testcases in future, then try to aim to the next release. Additionally I want to release a zip file next time, containing license stuff and maybe some docs. If you are willing to help, shout!

Background info:

JJSon is a small API for working with the Json format. There are several libs out there, but I don’t know any which are well encoded AND have no dependencies. JJSon doesn’t provide all features the other libs have, but aims to be easily extendable and definitly comes without any necessary dependencies.

JJSon – Update to Version 0.0.2

Thursday, August 21st, 2008

Yes, progress is slowy, but constant :-)

JJSon, my lib for manipulating JSon with no dependencies, has been released in version 0.0.2. New feature is that you can decode a json string into the Json-Objects. Remember, 0.0.1 just provided to make out of some Json-Objects a Json-String.

However, nice gimmick and one can start working with that now. Of course there are many features not included – we will see if I find the time to do some more work. Usually this happens when I try out another Json library and get dissapointed :-)

Enjoy!

JJSon: Some classes for working with JSon

Wednesday, October 10th, 2007

Lately we worked on integrating PHP with Java JBoss servers. Against all the webservice hype my customer decided to create a servlet which takes a previously defined JSON string as input parameter and returns a JSON string after processing. PHP can work very well with JSON, so everything is smooth.

We used the JSON-Lib:  json-lib.sourceforge.net/

and of course, we had some problems with that early version after a while. Digging into the code we recognized very quickly that this lib really wasn’t coded very well. Highly complex and totally over engineered. However, we patched this lib and kept on going.

But at night I thought about having the same basic features without dependencies and in a readable manner. This was the birth of JJSon. Allready said, goal is to implement a lib with NO dependencies, easy to bugfix and with less classes. No bullshitting round a simple format! :-)

However, even my words are harsh, we were very glad to have Json-Lib since we hadn’t the time to code it ourselves. So, thank you to the guys who spent many hours to prepare this jar, even when I am not totally happy with it!

  • Recent Posts

  • Tags

  • Categories

  • Archives

  • Wave Notifications

    Download Adobe Wave now!

    This application requires Adobe® AIR™ to be installed for
    Mac OS or Windows.




Feeds