var json_data = {"2013-01-21":1,"2013-01-22":7};
var result = [];

for(var i in json_data)
    result.push([i, json_data [i]]);


var data = new google.visualization.DataTable();
data.addColumn('string', 'Topping');
data.addColumn('number', 'Slices');
data.addRows(result);

http://jsfiddle.net/MV5rj/

Answer from salexch on Stack Overflow
🌐
Jsontophp
jsontophp.com
Convert JSON Object to PHP Array Online
JSON to PHP array converter online - Convert the given JSON object or Array into beautified PHP array that can be used instantly into your PHP file as a PHP array
Discussions

Convert array to JSON - javascript
I have an Array var cars = [2,3,..] which holds a few integers. I've added a few values to the array, but I now need to send this array to a page via jQuery's .get method. How can I convert it to a... More on stackoverflow.com
🌐 stackoverflow.com
Convert JSON objects to JSOn array
Hi I have below data [object][object],[object][object],[object][object],[object][object]… etc So I want this all data in array format like [[object][object],[object][object],[object][object],[object][object]… etc] I used push() but it is not working. please help me. More on forum.ionicframework.com
🌐 forum.ionicframework.com
5
0
January 2, 2020
JSON to Array Conversion
json_parse()? More on reddit.com
🌐 r/gamemaker
5
1
July 9, 2023
Convert JSON object to javascript array
Hi. Please can you help with the following. My PHP returns back the following json: ... I basically want to convert this into an array. More on community.spiceworks.com
🌐 community.spiceworks.com
5
1
June 9, 2016
People also ask

How to convert JSON to JSON online?
To convert JSON to JSON, paste your JSON data or upload a file, then review the table in the editor. The JSON to JSON converter updates the result as you edit, so you can convert JSON to JSON and copy or download the final JSON output.
🌐
tableconvert.com
tableconvert.com › home › json array to json array converter online - free tool
JSON Array to JSON Array Converter Online - Free Tool
Is my data secure when using this online converter?
Absolutely! All table conversions happen locally in your browser - your data never leaves your device. Our online converter processes everything client-side, ensuring complete privacy and data security. No files are stored on our servers.
🌐
tableconvert.com
tableconvert.com › home › json array to json array converter online - free tool
JSON Array to JSON Array Converter Online - Free Tool
Is TableConvert really free to use?
Yes, TableConvert is completely free! All converter features, table editor, data generator tools, and export options are available without cost, registration, or hidden fees. Convert unlimited files online for free.
🌐
tableconvert.com
tableconvert.com › home › json array to json array converter online - free tool
JSON Array to JSON Array Converter Online - Free Tool
🌐
Table Convert
tableconvert.com › home › json array to json array converter online - free tool
JSON Array to JSON Array Converter Online - Free Tool
July 28, 2025 - Convert JSON Array to JSON Array online. Paste or upload data, preview rows in the table editor, then copy or download clean JSON output.
🌐
Jsonjson
jsonjson.com › json-to-array
Json To Array Converter | JsonJson.com
Click the "Convert to Array" button. Your converted array will appear in the output field. Copy the result or download it as a file. JSON is a lightweight data interchange format that is easy for humans to read and write and easy for machines to parse and generate.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › how-to-convert-json-string-to-array-of-json-objects-using-javascript
Convert JSON String to Array of JSON Objects in JavaScript - GeeksforGeeks
August 5, 2025 - Using the JSON.parse() method, a JSON string can be easily converted into an array of JSON objects in JavaScript. This method interprets the string and returns a JavaScript array, enabling developers to work directly with the structured data ...
Find elsewhere
🌐
Pluralsight
pluralsight.com › blog › tech guides & tutorials
Convert a JSON File to an Array in React | Pluralsight
March 31, 2025 - After getting the values from the server, the parse() function has been used. The parse data as an array could be mapped using the function .map(), which iterates over the array of items. It may be possible that the JSON file needs to get used from the local source, and it also may contain an array of items or objects.
🌐
ReqBin
reqbin.com › code › php › 0uwqq41y › json-to-array-php-example
How do I convert JSON to PHP array?
To convert a JSON data string to a PHP array, you can use the json_decode($json) function.
🌐
Laracasts
laracasts.com › discuss › channels › laravel › convert-json-to-array
convert json to array
How about do $array = json_decode($json, true); first? Check this discussion- https://laracasts.com/discuss/channels/general-discussion/convert-json-to-eloquent-collection · Like Reply · 4 likes · Please sign in or create an account to ...
🌐
ConvertSimple
convertsimple.com › home › convert json to php array
Convert JSON to PHP Array - ConvertSimple.com
June 19, 2022 - Use this JSON to PHP converter tool by pasting or uploading JSON in the left box below. Results will appear in the box on the right. Convert your JSON to a PHP array.
🌐
Ionic Framework
forum.ionicframework.com › ionic framework › ionic angular
Convert JSON objects to JSOn array - Ionic Angular - Ionic Forum
January 2, 2020 - Hi I have below data [object][object],[object][object],[object][object],[object][object]… etc So I want this all data in array format like [[object][object],[object][object],[object][object],[object][object]… etc] I …
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › what-is-json-array
What is JSON Array? - GeeksforGeeks
July 23, 2025 - We can also create a JSON Array containing many JSON objects in it, then we can iterate over that array or use the [ ] to get the object we need. In the example below, there are three JSON objects in the array assigned to key "books".
🌐
Table Convert
tableconvert.com › home › json array generator online - free table creator
JSON Array Generator Online - Free Table Creator
July 28, 2025 - Use this JSON Standard Format generator to build, edit, and export JSON Standard Format data online. JSON generator for quick table generation and export. ... Upload JSON files or paste JSON arrays. Supports automatic recognition and parsing of object arrays, nested structures, and complex data types.
🌐
JSON Schema
json-schema.org › understanding-json-schema › reference › array
JSON Schema - array
However, the json module in the Python standard library will always use Python lists to represent JSON arrays.
🌐
Reddit
reddit.com › r/gamemaker › json to array conversion
r/gamemaker on Reddit: JSON to Array Conversion
July 9, 2023 -

I have a system that takes an array, and turns it into a text file, using json_stringify(). I am using it to save data. Now I have a text file with the array's contents, but I can't load the data back into the array because it is a string and not an array. How can I fix this? Thanks!