title: How to import escaped data from MySQL to JSON?
body: <p>In my MySQL database I have the folowing row:</p>
  
  <p><code>\"test\"</code> | <code>\'test\'</code> | <code>\'test\'</code> <code>\"test\"</code></p>
  
  <p>If I import that to JSON I will get that:</p>
  
  <pre><code>[
      "\"test\"",
      "\'test\'",
      "\'test\' \"test\""
  ]
  </code></pre>
  
  <p>which will generate erron in JSONLint:</p>
  
  <pre><code>Parse error on line 2:
  ...    "\"test\"",    "\'test\'",    "\'t
  ----------------------^
  Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
  </code></pre>
  
  <p>Why the below code doesn't generate error in JSONLint?</p>
  
  <pre><code>[
      "\"test\"",
      "\\'test\\'",
      "\\'test\\' \"test\""
  ]
  </code></pre>
  
  <p>And how to import data (by PHP) from MySQL to get the above result?</p>