Wednesday, 28 August 2013

Google Charts java api DataTable from JSON?

Google Charts java api DataTable from JSON?

All I want to do is create in a google charts DataTable in java from a
JSON string:
public DataTable generateDataTable(Query query, HttpServletRequest request) {
return new DataTable(Json string);
}
But I couldn't find how (there is no such constructor) and all the
questions I've found on this subject were the other way around (how to
create a Json string from a DataTable). Help will be appreciated.

No comments:

Post a Comment