skip to Main Content

C# deserialize KeyValuePair from JSON

This is the absolute simplest version of this question (a subset of it). using System; using System.Collections.Generic; using System.Text.Json; public class Program { public class Subscription { public bool HasRead { get; set; } = true; public string TimeStamp {…

VIEW QUESTION

Deserialising a JSON array collection issues VB .NET

Getting the following error Newtonsoft.Json.JsonSerializationException: 'Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array…

VIEW QUESTION
Back To Top
Search