In this article, you will see how to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson is an open-source project hosted athttp://code.google.com/p/google-gson Add the following dependencies in pom.xml 1. Create POJO Create Person Class as following. 2. Convert to JSON [...]
Tag Archives | gson
Tags
assertions
blob
c#
css
directory
eclipse
gson
hibernate
hibernate exceptions
html
ide
java
Javascript
jboss
jdbc
jquery
jquery attribute methods
jquery selectors
jsf
json
jstl
junit
linux
log4j
logging
maven
mysql
mysql workbench
netbeans
php
SpEL
spring
spring 3
spring annotation
spring collection
spring expression language
spring handler mapping
spring html tags
spring javacofig
spring mvc
struts
struts html tags
struts logic tags
testsuite
wordpress
