title: Passing an object-string to a javascript-function
body: <p>I'm trying to pass a string like this:</p>
  
  <pre><code>{"key":["value"],"key2":undefined,"key3":undefined,"key4":undefined,"key5":"value"}
  </code></pre>
  
  <p>to a javascript-function like this:</p>
  
  <pre><code>&lt;a href="#" onClick="myFunction(myString);"&gt;
  </code></pre>
  
  <p>but can't get the escaping right. Is there a way to pass that object-string to a function or do I need to convert something?</p>
  
  <p>Greetings,
  Select0r</p>