Exception in template (Designs\SkanskaMaskin\Paragraph\_Form_Share_Product_Confirm.cshtml): Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0.
   at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader)
   at Newtonsoft.Json.Linq.JObject.Parse(String json)
   at CompiledRazorTemplates.Dynamic.dbaeb.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.Output()
@using skanskamaskin.se.common; @using Newtonsoft.Json; @using Newtonsoft.Json.Linq; @using System.Web; @using System.IO; @{ String sharelistName; String sharelistEmail; String sharelistReceiver; String sharelistMessage; String input = new StreamReader(HttpContext.Current.Request.InputStream).ReadToEnd(); JObject json = JObject.Parse(input); sharelistEmail = HttpContext.Current.Server.UrlDecode(Convert.ToString(json["sharelist-email"])); sharelistReceiver = HttpContext.Current.Server.UrlDecode(Convert.ToString(json["sharelist-receiver"])); sharelistMessage = HttpContext.Current.Server.UrlDecode(Convert.ToString(json["sharelist-message"])); sharelistName = HttpContext.Current.Server.UrlDecode(Convert.ToString(json["sharelist-name"])); sharelistMessage = sharelistMessage.Replace("\n", "<br/>"); /* Skicka mailet*/ MailManager.Send(sharelistReceiver, "noreply@maskinuthyrning.skanska.se", "", "Tips", sharelistMessage, null, sharelistName); } <div class="Grid Grid--equalPush Grid--withGutter"> <div class="Grid-cell u-sizeFull u-md-size1of2 u-lg-size1of2"> <div class="Type"> <h2 class="Input-aligned">Produkten är delad!</h2> <p>Här informationen som skickades:</p> </div> </div> <div class="Grid-cell Grid--push u-sizeFull u-md-size1of2 u-lg-size1of2"> <div class="Type"> <h4>Ditt namn</h4> <p>@sharelistName</p> </div> </div> <div class="Grid-cell u-sizeFull u-md-size1of2 u-lg-size1of2"> <div class="Type"> <h4>Din-epost</h4> <p>@sharelistEmail</p> </div> </div> <div class="Grid-cell u-sizeFull u-md-size1of2 u-lg-size1of2"> <div class="Type"> <h4>Mottagerens-epost</h4> <p>@sharelistReceiver</p> </div> </div> <div class="Grid-cell u-sizeFull"> <h4>Meddelande</h4> <div class="Type u-textNoWrap"> <p>@sharelistMessage</p> </div> </div> </div> <div class="Grid Grid--withGutter"> <div class="Grid-cell u-sizeFull u-textRight"> <button class="Button js-overlayClose">Ok, jag förstår</button> </div> </div>