Nancy.Serialization.JsonNet
Nancy.Serialization.JsonNet copied to clipboard
NewtonSoft.Json serializer for Nancy
### Description Method 'CanDeserialize' in type 'Nancy.Serialization.JsonNet.JsonNetBodyDeserializer' from assembly 'Nancy.Serialization.JsonNet, Version=1.4.1.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) at System.Reflection.RuntimeAssembly.GetExportedTypes() at Nancy.Extensions.AssemblyExtensions.SafeGetExportedTypes(Assembly assembly) at Nancy.DefaultTypeCatalog.c.b__4_0(Assembly...
Hello, The NancyFx v2 official release is available in Nuget since april 2019 but the Nancy.Serialization.JsonNet is not amongst them. Is there a reason for this? P.S.: for the moment...
After encountering errors doing model binding to array types, I investigated the root cause and decided to fix it. It looks like JsonNetBodyDeserializer.cs creates a separate instance of the target...
``` yo aspnet nancy Test cd Test dotnet add package Nancy.Serialization.JsonNet error: Package Nancy.Serialization.JsonNet 1.4.1 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Nancy.Serialization.JsonNet 1.4.1 supports: net40 (.NETFramework,Version=v4.0) error: One or...
Hi, given the following dto ``` public class Dto { public Guid Id { get; set; } public string Name { get; set; } } ``` this code work as...
### Prerequisites - [x] I have written a descriptive issue title - [x] I have verified that I am running the latest version of Nancy - [x] I have verified...
I've got a very weird situation. Obviously on my development machine Nancy.Serialization.JsonNet loads properly in my project. However, in production Nancy.Serialization.JsonNet does not load. I can confirm the assemblies loaded...
Fixes https://github.com/NancyFx/Nancy/issues/1383 This PR depends on https://github.com/NancyFx/Nancy/issues/1431 being merged
In a test I am writing, I have some assertions on the deserialized JSON that I get back from my API. The deserialization and assert looks like this: ``` var...
Hi I have a .NET 4.0 web api project with NancyFX and your serialization plugin. This project stops building as soon as I reference the JsonNetSerializer class directly with the...