Skip to content

docs/tip: Gist for JSON serializing with JSON.Net #21

@madaz

Description

@madaz

Custom converter for serializing to Json using http://www.newtonsoft.com/json.

This is an enhancement of the Newton.Json.Converters.VersionConverter.

https://gist.github.com/madaz/efab4a5554b88dc2862d58046ddba00f

Reason
Without the custom serializer, the default would create a nested "SemVersion" property inside the original property when serializing.

The default deserialzing worked fine.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions