This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Json framework that works with Google Chart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Json framework that works with Google Chart" Watch "Json framework that works with Google Chart" New topic
Author

Json framework that works with Google Chart

Basas Safa
Greenhorn

Joined: Mar 13, 2012
Posts: 2
Hi,

I'm looking for a Json library that can serialize from Java Objects to Json format. And it should work with Google Chart.

I tried Googles Gson as a serializer... but it didnt allow me to generate:
{v:new Date(2008,3,30,0,31,26)}

But this is the format that Google Chart needs dates to be. So anyone has a Json library that you know can generate {v:new Date(2008,3,30,0,31,26)} ?

best regards
basas
Basas Safa
Greenhorn

Joined: Mar 13, 2012
Posts: 2
Problem solved.

Gson forum posted a workaround =)
http://groups.google.com/group/google-gson/browse_thread/thread/72c7c87362f53163

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Json framework that works with Google Chart
 
Similar Threads
Implementation of google charts in JSP
select query , Need to store objects in a JSONArray
for generating chart
Jfree chart and table report
gantt chart for J2EE application