Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'MarkAllen.Genesis.Models.ReviewsModel.Musician' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract(JsonReader reader, Type objectType, JsonContract contract)
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
MarkAllen.Genesis.Services.ReviewsService.GetArtist(Guid websiteGuid, String slug) in D:\a\1\s\MarkAllen.Genesis\Services\ReviewsService.cs:line 144
ASP._Page_Views_Partials_Components_ArtistsBody_Default_cshtml.Execute() in C:\home\site\wwwroot\Views\Partials\Components\ArtistsBody\Default.cshtml:line 9
System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
Our.Umbraco.DocTypeGridEditor.Web.Extensions.HtmlHelperExtensions.RenderDocTypeGridEditorItem(HtmlHelper helper, IPublishedContent content, String editorAlias, String viewPath, String previewViewPath)
ASP._Page_app_plugins_doctypegrideditor_render_doctypegrideditor_cshtml.Execute() in C:\home\site\wwwroot\app_plugins\doctypegrideditor\render\doctypegrideditor.cshtml:line 28
System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
ASP._Page_Views_Partials_grid_editors_base_cshtml.Execute() in C:\home\site\wwwroot\Views\Partials\grid\editors\base.cshtml:line 67
Gramophone Digital Club
- Digital Edition
- Digital Archive
- Reviews Database
- Full website access
From £8.75 / month
SubscribeGramophone Full Club
- Print Edition
- Digital Edition
- Digital Archive
- Reviews Database
- Full website access
From £11.00 / month
Subscribe
If you are a library, university or other organisation that would be interested in an institutional subscription to Gramophone please click here for further information.