Closed ghost closed 5 years ago
Thanks for the find. I will look into it.
Sorry, i am still working on it. I fixed a segment of the issue but I am not still getting the expected result. It does not get stuck in an endless loop, but it is not setting the value correctly either.
Thanks for the update, happy that you're looking at it!
Sorry been busy with other things that came up. I will look at it soon and get back to you.
Please test when you get a chance. Sorry it took so long, was busy with personal stuff.
The solution has also been pushed to nuget already
I cant seem to find anything to confirm/deny whether nullable types are supported, but attempting to deserialise the following breaks NetJSON as it appears to get stuck in an endless loop.
Some minor debugging using the NetJSON source seems to indicate the issue is in NetJSONGeneratedAssembly!NullableEntityClass.CreateClassOrDictValueObject(char* value, ref int value, NetJSON.NetJSONSettings value) emitted method where it is probably getting stuck in the while loop. The stack trace is as follows, with NetJSONSettings.HasOverrideQuoteChar.get() being hit endlessly whilst it is processing my NullableEntity.Value property: