Hello all:
Sometimes I found if I use JSON.NET, such error as what is in my topic will happen. So what reasons will cause this problem?
1) Must I add [Serializable] attribute onto a struct or a class?
2) Can I use a struct with public variables instead of a common class with public properties?
…………
Sometimes I found if I use JSON.NET, such error as what is in my topic will happen. So what reasons will cause this problem?
1) Must I add [Serializable] attribute onto a struct or a class?
2) Can I use a struct with public variables instead of a common class with public properties?
…………