When using JSON.parse, it is expected to have text as the first parameter. More information about this can be found on this page: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse.
JSON.parse(['["asd"]'])
produces a result of ["asd"]
. Could this possibly be considered a bug?