Instantly share code, notes, and snippets.
JS:
JSON.stringify(myArr)
PHP
json_decode(str_replace('\\', '', $_POST['var']));