Resolving the System.Text.Json.JsonException: The input does not contain any JSON tokens Error in Blazor Applications

Have you ever encountered the dreaded System.Text.Json.JsonException: The input does not contain any JSON tokens error in your Blazor application? If so, you’re not alone! This error can be quite confusing and frustrating to deal with, but fear not – we’ve got you covered. In this blog post, we’ll walk you through the possible causes…

System.Security.Permissions missing when invoking JsonConvert.DeserializeObject in .NET Core 2.0

Are you encountering the “System.Security.Permissions” error when using JsonConvert.DeserializeObject<T> in your .NET Core 2.0 project? Don’t worry, you’re not alone. In this article, we’ll explore the causes of this issue and provide you with effective solutions to resolve it. Understanding the Problem The “System.Security.Permissions” error typically occurs when you try to deserialize an incoming string…