title: Does there exist a clean way to convert a lua table (as a string) to a javascript array? (and visa versa)
body: <p>EDIT: Take a lua table as a string, and use javascript to convert it to a javascript array. No programming in lua.</p>
  
  <p>So a lua table is just an associative array in a different format.</p>
  
  <pre class="lang-lua prettyprint-override"><code>    --LUA TABLE EXAMPLE
      {
      ["glow"] = true,
      ["xOffset"] = -287.99981689453,
      ["yOffset"] = -227.55575561523,
      ["anchorPoint"] = "CENTER",
      ["cooldownSwipe"] = true,
      ["customTextUpdate"] = "update",
      ["cooldownEdge"] = false,
      ["icon"] = true,
      ["useglowColor"] = false,
      ["internalVersion"] = 24,
      ["keepAspectRatio"] = false,
      ["animation"] = {
          ["start"] = {
              ["duration_type"] = "seconds",
              ["type"] = "none",
          },
          ["main"] = {
              ["duration_type"] = "seconds",
              ["type"] = "none",
          },
          ["finish"] = {
              ["duration_type"] = "seconds",
              ["type"] = "none",
          },
      }
  </code></pre>
  
  <p>I've looked around for some javascript functions or libraries to do this though I've only come across some lua libraries to convert json to a lua table. The lua table will always be in a string. Does there exist a way of doing this?</p>