Error in the format of JSON
I have a JSON with this format :
google.visualization.Query.setResponse({"version":"0.6","status":"ok","sig":"266867977","table":{"cols":[{"id":"ecoadmin_building_name","label":"ecoadmin_building_name","type":"string","pattern":""},{"id":"ecoadmin_zone_name","label":"ecoadmin_zone_name","type":"string","pattern":""},{"id":"cost_reportings_cost","label":"cost_reportings_cost","type":"number","pattern":""},{"id":"cost_reportings_timestamp","label":"cost_reportings_timestamp","type":"date","pattern":""}],"rows":[{"c":[{"v":"Mairie
de Montmorin"},{"v":"Bureau de M. le Maire"},{"v":0.0},{"v":new
Date(2012,11,8)}]},{"c":[{"v":"Mairie de Montmorin"},{"v":"Bureau de M. le
Maire"},{"v":0.0},{"v":new Date(2012,11,9)}]},{"c":[{"v":"Mairie de
Montmorin"},{"v":"Bureau de M. le Maire"},{"v":0.453663},{"v":new
Date(2012,11,10)}]},
I have a problem with this because I used the googlechart and my chart
can't read the format of my JSON. The format of my JSON isn't good, it's
like this
" new Date(2012,11,17) "
but i need something like this
" Date(2012,11,17) "
could you help me ????????
No comments:
Post a Comment