Utf8Json icon indicating copy to clipboard operation
Utf8Json copied to clipboard

I Can't Use [DataMember()] Attribute

Open Azthenix opened this issue 5 years ago • 1 comments

I can't seem to use the [DataMember()] attribute. When I use it it only shows up as.

The type or namespace name 'DataMemberAttribute' could not be found (are you missing a using directive or an assembly reference?)

Azthenix avatar Oct 30 '20 09:10 Azthenix

[DataMember(Name = "yourNameHere")]is set in using System.Runtime.Serialization;

tomsoftware avatar Apr 08 '21 23:04 tomsoftware