ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Web Service Error: You must implement a default accessor on Newtonsoft.Json.Linq.JObject because it inherits from ICollection<p>Hi <a class="username" rel="Amit">Amit,</a></p> <p>Instead of passing&nbsp;JObject as parameter, pass a object type as parameter and then convert it back to&nbsp;JObject to do your rest task.</p> <pre class="brush: csharp">[WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public void StartActivity(object objData) { if (objData.GetType() == typeof(JObject)) { JObject obj = (JObject)objData; // Do your Task. } }</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/366647/Web-Service-Error-You-must-implement-a-default-accessor-on-NewtonsoftJsonLinqJObject-because-it-inherits-from-ICollection/https://www.aspforums.net:443/Threads/366647/Web-Service-Error-You-must-implement-a-default-accessor-on-NewtonsoftJsonLinqJObject-because-it-inherits-from-ICollection/Fri, 04 Jan 2019 02:08:39 GMT