function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rplrpl 

@httppost

@RestResource(urlMapping='/NewContact/*')
global without sharing class WSContact {
    @HttpPost
    global static String createMobileCon(string input) {
    //  string input='{"input":{"LastName":"TEST","Designation":"TESTER"}}';      
      /*
               i am unable to parse the json input when it comes in as a parameter 
      */
       
       insert newCase;
       return newCase.id;
    }

Any help will be highly appreciated.
Ashish_SFDCAshish_SFDC
Hi , 


See the below links, 

https://developer.salesforce.com/forums/ForumsMain?id=906F00000009DwZIAU

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_json_jsonparser.htm

http://salesforce.stackexchange.com/questions/9328/how-to-parse-the-json-object-in-salesforce


Regards,
Ashish