List/Grid Tag Archives: JSON

JSON with GSON and abstract classes
I have switched to Google Gson after many years of using org.json library for supporting JSON data interchange format in Java. org.json is a lower-level library, so that you have ...

MOXy as Your JAX-RS JSON Provider – Client Side
Recently I posted how to leverage EclipseLink JAXB (MOXy)‘s JSON binding to create a RESTful service. In this post I will demonstrate how easy it is to take advantage ...

MOXy as Your JAX-RS JSON Provider – Server Side
In a previous series of posts I covered how EclipseLink JAXB (MOXy) can be leveraged to create a RESTful data access service. In this post I will cover how easy it is to leverage MOXy’s ...

Play 2.0: Akka, Rest, Json and dependencies
I’ve been diving more and more into scala the last couple of months. Scala together with the “Play Framework” provides you with a very effective and quick development ...

Groovy 1.8.0 – meet JsonBuilder!
Groovy 1.8.0 released in April brought a lot of new features to the language, one of them is native JSON support through JsonSlurper for reading JSON and JsonBuilder for writing JSON. I ...

JSON web service with Java and Axis2
I have recently met a client who asking me to rebuild their legacy product using Java web service. They want it modular and easy to use. The first thing crossed my mind is using restful ...

DB unit testing with dbUnit, JSON, HSQLDB and JUnit Rules
In this week’s run of my TDD course, I thought it would be interesting to write a little fixture to make it easier to use dbUnit. My original thought was just to teach dbUnit about ...

Develop Restful web services using Spring MVC
REST INTRODUCTIONFrom Wikipedia: REST-style architectures consist of clients and servers. Clients initiate requests to servers; servers process requests and return appropriate responses. ...

Cloning of Serializable and Non-Serializable Java Objects
Frequently developers rely on 3d party libraries to avoid reinventing the wheel, particularly in the Java world, with projects like Apache and Spring so prevalent. When dealing with ...

Android JSON Parsing with Gson Revisited
A while ago we hosted an article about using Gson for JSON parsing with Android. The tutorial was a simple showcase of how to leverage Gson with Android. Recently, Bill Mote from the ...

