title: How to pass and consume a JSON parameter to/with RESTful WCF service?
body: <p>I am a beginner at RESTful services.</p>
  
  <p>I need to create an interface where the client needs to pass up to 9 parameters.</p>
  
  <p>I would prefer to pass the parameters as a JSON object.</p>
  
  <p>For instance if my JSON is:</p>
  
  <pre><code>'{
      "age":100,
      "name":"foo",
      "messages":["msg 1","msg 2","msg 3"],
      "favoriteColor" : "blue",
      "petName" : "Godzilla",
      "IQ" : "QuiteLow"
  }'
  </code></pre>
  
  <p>And if I need to execute a server side method below in the end:</p>
  
  <pre><code>public Person FindPerson(Peron lookUpPerson)
  {
  Person found = null;
  // Implementation that finds the Person and sets 'found'
  return found;
  }
  </code></pre>
  
  <p><strong>Question(s):</strong><br>
  How should I make the call from the client-side with the above JSON string?
  And how can I create a signature and implementation of the RESTful service method that </p>
  
  <ul>
  <li>accepts this JSON,  </li>
  <li>parses and deserializes it into Person object and</li>
  <li>calls / returns the FindPerson method's return value back to client?</li>
  </ul>