Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH159: Fixes BooleanOrConverter #160

Merged
merged 1 commit into from
Jul 21, 2019
Merged

GH159: Fixes BooleanOrConverter #160

merged 1 commit into from
Jul 21, 2019

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