Skip to content

Enum flag values not properly serialized or deserialized #130

@wmjordan

Description

@wmjordan

The following code reproduces this issue:

var o = NetJSON.NetJSON.Serialize(System.IO.FileShare.Read | System.IO.FileShare.Delete);
// o == 0

System.IO.FileShare has a FlagsAttribute and we shall use do something special.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions