Skip to content

Conversation

bjorkstromm
Copy link
Member

With #156 and #148 we will now see BooleanOr<T> serializing T as class, which bubbled up a bug in the converter. We where trying to feed a JValue with the object directly, which made JSON.NET throw an exception. Best is to probably have the serializer serialize it directly into the writer.

- Serialize object type correctly
- Fixes #159
@bjorkstromm bjorkstromm changed the title (GH-159) Fixes BooleanOrConverter GH159: Fixes BooleanOrConverter Jul 21, 2019
@david-driscoll david-driscoll merged commit 6bf47e5 into master Jul 21, 2019
@david-driscoll david-driscoll deleted the bug/GH-159 branch July 21, 2019 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.13.0 unable to serialize BooleanOrConverter

3 participants