neuecc/Utf8Json

I Can't Use [DataMember()] Attribute

Azthenix opened this issue · 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?)

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