title: Json Format data from console application to service stack
body: <p>I found you are the only one who answers for service stack, I don't have emails and what ever you provided for last questions to me, seems fine. </p>
  
  <p>I have seen your profile and as you are the main founder of mythZ, i seems to ask you my question again.</p>
  
  <p>For one of my question, POST data in JSON format to Service stack, i appreciate your answer.
   your answer is right, however in my case i am having following case.Let me describe in more detail.</p>
  
  <p>I have seen "Hello World" example of service stack. I got link for 
  <a href="https://github.com/ServiceStack/ServiceStack.Extras/blob/master/doc/UsageExamples/UsingRestAndJson.cs" rel="nofollow">https://github.com/ServiceStack/ServiceStack.Extras/blob/master/doc/UsageExamples/UsingRestAndJson.cs</a></p>
  
  <p>In my case,
  I am having console application which calls service stack (which inserts data in DB)
  Now, in that console application, i have made one class (class1) which is there in service stack with the same properties.</p>
  
  <p>I assign values to properties of that class in my console application and POST the whole object to service stack. Syntex is like below</p>
  
  <pre><code> JsonServiceClient client = new JsonServiceClient(myURL);
         MYclass cls= MakeObjectForServiceStackToInsertData();
          var res = client.Post&lt;MYClass&gt;("/postrequest", cls); 
  </code></pre>
  
  <p>I have use POST as above. which seems okay. 
  at the service stack end in OnPOST event, i get this data and insert in DB.
  It is working fine for me.</p>
  
  <p>Now my client, wants that we need to pass data in any format. JSON/XML.
  I know it is possible as you provide me a "Hello world" example link, it is mention over there.</p>
  
  <p>But all i found is, they have used ajax/Jquery to post data to service.
  In my case this is console application, so i am not able to use ajax/Jquery.
  I am wondering that, is it possible to pass data in JSON format and do operation in my case.</p>
  
  <p>Thank you very much in advance. </p>