Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Serialization Option fails #13

@2moveit

Description

@2moveit

Hi, serialization with Newtonsoft.Json does not work.
If you serialize 2.0.ToOption() then it does not save the value:
{"OptionProperty":{"HasValue":true,"IsEmpty":false}}
Maybe it's possible to write a JsonConverter for that but the better way would be supporting serialization with the Option type by default. Or am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions