Json-lib-ext-spring 1.0.1 released - No Fluff Just Stuff

Json-lib-ext-spring 1.0.1 released

Posted by: Andres Almiray on May 14, 2008

Last week I received a rather interesting message from a GWT user, asking if it was possible to return a top level JSONArray from JSONView instead of a top level JSONObject, because it seems that in some cases GWT expects the data to be contained in an array and not an object. I thought that adding a flag would be enough, but maven's transitive dependency management (I have a strong love/hate relationship with maven, more love than hate) complicated things a little bit, hence the recent JsTester release.

The good news is that all problems are solved now and the flag has been added, just remember to call setForceTopLevelArray on the view before you render the JSON output and you are in business. You may download the jar file from Json-lib's download page.

Feedback is always appreciated.
Andres Almiray

About Andres Almiray

Andres is a Java/Groovy developer and a Java Champion with more than 20 years of experience in software design and development. He has been involved in web and desktop application development since the early days of Java. Andres is a true believer in open source and has participated on popular projects like Groovy, Griffon, and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework and Hackergarten community event. https://ch.linkedin.com/in/aalmiray

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »