This project has moved and is read-only. For the latest updates, please go here.

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

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