Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Use Google's gson instead of Xstream to serialize JSON on vraptor apps
Java
tree: c56e6a5a6b

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/main
.gitignore
README.textile
pom.xml

README.textile

ABOUT

VRaptor uses Xstream to serialize JSON from controllers, we don’t like Xstream.

INSTALATION

git clone git://github.com/luizsignorelli/vraptor-gson-serializer.git
cd vraptor-gson-serializer 
mvn install

CONFIGURATION

1. Add the dependency to your project
2. Add this to your web.xml:


<context-param>
   <param-name>br.com.caelum.vraptor.packages</param-name>
   <param-value> br.com.caelum.vraptor.serialization.gson</param-value>
</context-param>

Something went wrong with that request. Please try again.