You just need to run this through JSON.parse(), which is supported by almost all the JavaScript parsers:

console.log(JSON.parse(`[  
    [32.361346650846805,50.90932315437885],
    [32.36743646734031,50.95189517586323],
    [32.35467638118774,50.95876163094135],
    [32.342494619322636,50.904516635824166],
    [32.36279664436138,50.90039676277729],
    [32.380194752587755,50.899023471761666],
    [32.3648265962154,50.91481631844135],
    [32.361346650846805,50.90932315437885]
]`));

Just beware that the JavaScript might not like having line-breaks in strings if you give them in source code. If the original string does have line-breaks, that's totally fine. That's why I have used a template literal here.

// Say you have your string here.
var str = `[  
    [32.361346650846805,50.90932315437885],
    [32.36743646734031,50.95189517586323],
    [32.35467638118774,50.95876163094135],
    [32.342494619322636,50.904516635824166],
    [32.36279664436138,50.90039676277729],
    [32.380194752587755,50.899023471761666],
    [32.3648265962154,50.91481631844135],
    [32.361346650846805,50.90932315437885]
]`;
// Convert to array.
var arr = JSON.parse(str);
// Loop throught the array.
for (var i = 0; i < arr.length; i++)
  console.log(arr[i]);

Answer from Praveen Kumar Purushothaman on Stack Overflow
🌐
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 - Below are some common methods that are used to convert JSON strings to array of JSON objects: Using the JSON.parse() method, a JSON string can be easily converted into an array of JSON objects in JavaScript.
🌐
SitePoint
sitepoint.com › blog › javascript › jquery convert json string to array
jquery convert json string to array — SitePoint
February 12, 2024 - In JavaScript, you can use the JSON.parse() method to convert a JSON string into an array.
🌐
TutorialsPoint
tutorialspoint.com › article › how-to-convert-json-string-to-array-of-json-objects-using-javascript
How to Convert JSON String to Array of JSON Objects Using JavaScript?
November 27, 2024 - <!DOCTYPE html> <html lang="en"> <head> <title>Converting JSON String to Array using JSON.parse()</title> </head> <body> <h2>Converting JSON String to Array of JSON Objects</h2> <p>In this example, we have used <strong>JSON.parse()</strong> method to convert JSON string to array of JSON objects.</p> <button onclick="convert()">Click Here</button> <div id="result"></div> <script> function convert() { let jsonString = '[{"Name": "Ram", "Hobby": "Singing"}, {"Name": "Shyam", "Hobby": "Playing Games"}, {"Name": "Mohan", "Hobby": "Reading Books"}]'; let jsonArray = JSON.parse(jsonString); document.
🌐
Quora
quora.com › How-do-you-convert-a-JSON-object-into-a-String-Array
How to convert a JSON object into a String Array - Quora
Answer: It kind of depends on what you intend on doing with the json object, and possibly what the json object contains. A using object is a linefeed delimited string. It may contain an array as one of its members. So if the intent is to store the entire json object as an array of strings, start...
🌐
ReqBin
reqbin.com › code › javascript › n2ek7onb › javascript-array-to-json-example
How do I convert JavaScript array to JSON?
JSON format came from JavaScript, ... for working with JSON data. ... The JSON.stringify(value, replacer, space) method in JavaScript converts arrays and objects to a JSON string....
Find elsewhere
🌐
Boot.dev
blog.boot.dev › javascript › converting an array to a json object in javascript
Converting an Array to a JSON Object in JavaScript | Boot.dev
October 1, 2022 - JSON, or "JavaScript Object Notation", is a highly popular data exchange format that's widely used in web development. In this post, we'll explore several simple methods for converting a JavaScript array into JSON data. Plus, we'll discuss the benefits of using JSON and how it can help improve ...
🌐
W3Schools
w3schools.com › js › js_json_server.asp
<h1>JavaScript Loading JSON</h1>
JSON is often stored in files or returned by calls to web servers. JavaScript can load JSON and convert it into JavaScript values.
🌐
W3Schools
w3schools.com › js › js_json_stringify.asp
JavaScript JSON.stringify()
The JSON.stringify() method converts a JavaScript value into JSON text.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › JSON › parse
JSON.parse() - JavaScript - MDN Web Docs
1 week ago - The JSON.parse() static method parses a JSON string, constructing the JavaScript value or object described by the string. An optional reviver function can be provided to perform a transformation on the resulting object before it is returned.
🌐
Medium
medium.com › bootdotdev › converting-an-array-to-json-object-in-javascript-f9f1d163cb34
Converting an Array to JSON Object in JavaScript | by Lane Wagner | Boot.dev | Medium
December 28, 2020 - If you have an array of data but ... array in order to make a fetch request with it, it’s as easy as using the JSON.stringify() method....
🌐
EDUCBA
educba.com › home › software development › software development tutorials › javascript tutorial › json array of strings
JSON Array of Strings | How JSON Array of String Works? (Examples)
April 14, 2023 - <!DOCTYPE html> <html> <head> <title></title> </head> <body> <p>Deletion of values in an array of strings</p> <p id="paraId"></p> <script> var string = ""; var sample = { "employeename": "Anusha", "employername": "CPG", "techskills": ["react", "JavaScript", "Java"] }; delete sample.techskills[0]; for (i in sample.techskills) { string += sample.techskills[i] + "<br/>"; } document.getElementById("paraId").innerHTML = string; </script> </body> </html> ... We have seen how JSON array represents an ordered list of values be it string, numbers, Boolean, or an object. Here as per the topic, we have discussed how array of strings are accessed using for loop, how array value can be deleted, multi dimensional array, a nested array with examples listed above for each.
Address: Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › JSON › stringify
JSON.stringify() - JavaScript - MDN Web Docs
August 28, 2026 - If this is a number, it indicates the number of space characters to be used as indentation, clamped to 10 (that is, any number greater than 10 is treated as if it were 10). Values less than 1 indicate that no space should be used. If this is a string, the string (or the first 10 characters of the string, if it's longer than that) is inserted before every nested object or array.
🌐
Squash
squash.io › how-to-convert-array-to-json-in-javascript
How to Convert Array to JSON in JavaScript - Squash Labs
When converting an array to JSON in JavaScript, it is important to keep the following best practices in mind: 1. Ensure that the array contains only JSON-serializable values: JSON supports a limited set of data types, including strings, numbers, booleans, null, objects, and arrays.
🌐
W3Schools
w3schools.com › js › js_json_parse.asp
JavaScript JSON.parse()
The JSON.parse() method converts JSON text into a JavaScript value.