This project has moved. For the latest updates, please go here.

What reasons will cause "JSON unexpected……" related problem

Jul 23, 2014 at 1:12 AM
Edited Jul 23, 2014 at 1:12 AM
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?