This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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

 
Consider Paul's rocket mass heater.
 
subject: Json framework that works with Google Chart
 
Similar Threads
gantt chart for J2EE application
Implementation of google charts in JSP
Jfree chart and table report
select query , Need to store objects in a JSONArray
for generating chart